update tuliphook, gets rid of keystone

This commit is contained in:
matcool 2023-08-05 15:25:33 -03:00
parent 029cf5af2a
commit efcbf58db2
No known key found for this signature in database
GPG key ID: BF58756086D7AB1C

View file

@ -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()