build: Upgraded capstone to full V5 release

This commit is contained in:
WerWolv
2023-07-05 20:45:37 +02:00
parent f00b9f05ac
commit 25d6380963
2 changed files with 2 additions and 1 deletions

View File

@@ -505,6 +505,7 @@ macro(addBundledLibraries)
set(CAPSTONE_BUILD_TESTS OFF CACHE BOOL "Disable tests")
add_subdirectory(${EXTERN_LIBS_FOLDER}/capstone EXCLUDE_FROM_ALL)
set_target_properties(capstone PROPERTIES POSITION_INDEPENDENT_CODE ON)
target_compile_options(capstone PRIVATE -Wno-unused-function)
set(CAPSTONE_LIBRARIES "capstone")
set(CAPSTONE_INCLUDE_DIRS ${EXTERN_LIBS_FOLDER}/capstone/include)
else()