From 25d63809632bb0760a5f79196085c26ec25e00f5 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Wed, 5 Jul 2023 20:45:37 +0200 Subject: [PATCH] build: Upgraded capstone to full V5 release --- cmake/build_helpers.cmake | 1 + lib/external/capstone | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake index a76fa6044..f896bac09 100644 --- a/cmake/build_helpers.cmake +++ b/cmake/build_helpers.cmake @@ -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() diff --git a/lib/external/capstone b/lib/external/capstone index d5141c047..650e85dcf 160000 --- a/lib/external/capstone +++ b/lib/external/capstone @@ -1 +1 @@ -Subproject commit d5141c04785678535c7792eddc21f146186e639f +Subproject commit 650e85dcf23b3a3bff69144511533b7339436238