mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
update tuliphook, gets rid of keystone
This commit is contained in:
parent
029cf5af2a
commit
efcbf58db2
1 changed files with 3 additions and 6 deletions
|
@ -96,18 +96,15 @@ if (PROJECT_IS_TOP_LEVEL AND NOT GEODE_BUILDING_DOCS)
|
|||
set(TULIP_LINK_SOURCE ON)
|
||||
endif()
|
||||
set(CMAKE_WARN_DEPRECATED OFF CACHE BOOL "" FORCE)
|
||||
CPMAddPackage("gh:geode-sdk/TulipHook#4369d05")
|
||||
CPMAddPackage("gh:geode-sdk/TulipHook#0819bc1")
|
||||
set(CMAKE_WARN_DEPRECATED ON CACHE BOOL "" FORCE)
|
||||
|
||||
# Silence warnings from dependencies
|
||||
include(CheckCXXCompilerFlag)
|
||||
check_cxx_compiler_flag(-Wno-everything SUPPORTS_W_NO_EVERYTHING)
|
||||
if (SUPPORTS_W_NO_EVERYTHING)
|
||||
if (TARGET capstone-static)
|
||||
target_compile_options(capstone-static PRIVATE -Wno-everything)
|
||||
endif()
|
||||
if (TARGET keystone)
|
||||
target_compile_options(keystone PRIVATE -Wno-everything)
|
||||
if (TARGET capstone)
|
||||
target_compile_options(capstone PRIVATE -Wno-everything)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue