File tree 2 files changed +11
-10
lines changed
2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 1
1
2
- if (EVMC_TESTING OR EVMC_TEST_TOOLS)
3
- set (HUNTER_CONFIGURATION_TYPES Release
4
- CACHE STRING "Build type of the Hunter packages" )
2
+ set (HUNTER_CONFIGURATION_TYPES Release
3
+ CACHE STRING "Build type of the Hunter packages" )
5
4
6
- include (HunterGate)
5
+ include (HunterGate)
7
6
8
- HunterGate(
9
- URL "https://github.com/ruslo/hunter/archive/v0.23.169.tar.gz"
10
- SHA1 "60de9f275143ab38df559986c04e3726683e7de7"
11
- )
12
- endif ()
7
+ HunterGate(
8
+ URL "https://github.com/ruslo/hunter/archive/v0.23.169.tar.gz"
9
+ SHA1 "60de9f275143ab38df559986c04e3726683e7de7"
10
+ )
Original file line number Diff line number Diff line change 1
1
find_package (Threads REQUIRED)
2
2
3
+ hunter_add_package(intx)
4
+ find_package (intx CONFIG REQUIRED)
5
+
3
6
set (hera_include_dir ${PROJECT_SOURCE_DIR} /include )
4
7
get_filename_component (evmc_include_dir .. ABSOLUTE )
5
8
@@ -33,7 +36,7 @@ endif()
33
36
target_include_directories (hera
34
37
PUBLIC $<BUILD_INTERFACE:${hera_include_dir} >$<INSTALL_INTERFACE:include >
35
38
)
36
- target_link_libraries (hera PUBLIC evmc::evmc PRIVATE hera-buildinfo evmc::instructions)
39
+ target_link_libraries (hera PUBLIC evmc::evmc PRIVATE hera-buildinfo evmc::instructions intx::intx )
37
40
if (NOT WIN32 )
38
41
if (CMAKE_COMPILER_IS_GNUCXX)
39
42
set_target_properties (hera PROPERTIES LINK_FLAGS "-Wl,--no-undefined" )
You can’t perform that action at this time.
0 commit comments