Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions cmake/configs/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ hunter_default_version(BZip2 VERSION 1.0.8-p0)
hunter_default_version(Beast VERSION 1.0.0-b84-hunter-0)

if(MINGW)
# https://github.com/boostorg/build/issues/301
hunter_default_version(Boost VERSION 1.64.0)
# https://github.com/boostorg/build/issues/301
hunter_default_version(Boost VERSION 1.64.0)
else()
hunter_default_version(Boost VERSION 1.83.0)
hunter_default_version(Boost VERSION 1.83.0)
endif()

hunter_default_version(BoostCompute VERSION 0.5-p0)
Expand Down Expand Up @@ -213,6 +213,7 @@ hunter_default_version(aws_lambda_cpp VERSION v0.2.7-p0)
hunter_default_version(basis_universal VERSION 1.16.3-p0)
hunter_default_version(benchmark VERSION 1.8.3)
hunter_default_version(bento4 VERSION 1.6.0-638-p0)
hunter_default_version(bgfx VERSION 1.0.0)
hunter_default_version(binaryen VERSION 1.38.28-p1)
hunter_default_version(bison VERSION 3.0.4-p0)
hunter_default_version(boost-pba VERSION 1.0.0-p0)
Expand Down
2 changes: 2 additions & 0 deletions cmake/modules/hunter_setup_msvc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ macro(hunter_setup_msvc)
string(REGEX MATCH "^191[0-9]$" _vs_15_2017 "${MSVC_VERSION}")
string(REGEX MATCH "^192[0-9]$" _vs_16_2019 "${MSVC_VERSION}")
string(REGEX MATCH "^19[34][0-9]$" _vs_17_2022 "${MSVC_VERSION}")
string(REGEX MATCH "^193[0-9]$" _vs_17_2022 "${MSVC_VERSION}")
string(REGEX MATCH "^1940$" _vs_17_2022 "${MSVC_VERSION}")

if(_vs_8_2005)
set(HUNTER_MSVC_VERSION "8")
Expand Down
21 changes: 21 additions & 0 deletions cmake/projects/bgfx/hunter.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# !!! DO NOT PLACE HEADER GUARDS HERE !!!

include(hunter_add_version)
include(hunter_cacheable)
include(hunter_cmake_args)
include(hunter_download)
include(hunter_pick_scheme)
include(hunter_report_broken_package)

hunter_add_version(
PACKAGE_NAME bgfx
VERSION "1.0.0"
URL "https://github.com/mloccy/bgfx.cmake/releases/download/1.0.0/bgfx.tar.gz"
SHA1 01c5e53c6b43706ec21353bdf4d52e8b47cae856
)

hunter_cmake_args(bgfx CMAKE_ARGS BGFX_BUILD_EXAMPLES=OFF BGFX_BUILD_TESTS=OFF)

hunter_pick_scheme(DEFAULT url_sha1_cmake)
hunter_cacheable(bgfx)
hunter_download(PACKAGE_NAME bgfx)
Loading