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