File tree 2 files changed +13
-5
lines changed
2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,7 @@ include(CableToolchains)
12
12
include (CMakePackageConfigHelpers)
13
13
include (GNUInstallDirs)
14
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 ()
15
+ include (Hunter/init)
20
16
21
17
cable_configure_toolchain(DEFAULT cxx17-pic)
22
18
Original file line number Diff line number Diff line change
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
+ )
12
+ endif ()
You can’t perform that action at this time.
0 commit comments