We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de4d0c8 commit 5a2faf1Copy full SHA for 5a2faf1
2 files changed
CMakeLists.txt
@@ -12,11 +12,7 @@ include(CableToolchains)
12
include(CMakePackageConfigHelpers)
13
include(GNUInstallDirs)
14
15
-if(EVMC_TESTING OR EVMC_TEST_TOOLS)
16
- # If Hunter is needed it must be initialized before project(hera).
17
- include(evmc/cmake/cable/HunterGate.cmake)
18
- include(evmc/cmake/HunterConfig.cmake)
19
-endif()
+include(Hunter/init)
20
21
cable_configure_toolchain(DEFAULT cxx17-pic)
22
cmake/Hunter/init.cmake
@@ -0,0 +1,12 @@
1
+
2
+if(EVMC_TESTING OR EVMC_TEST_TOOLS)
3
+ set(HUNTER_CONFIGURATION_TYPES Release
4
+ CACHE STRING "Build type of the Hunter packages")
5
6
+ include(HunterGate)
7
8
+ HunterGate(
9
+ URL "https://github.com/ruslo/hunter/archive/v0.23.167.tar.gz"
10
+ SHA1 "1d8892545b0d8a52c4ad518f637d6bc33c2a572e"
11
+ )
+endif()
0 commit comments