From eb3f978c7b01a20150ccbe905586bba4e564f684 Mon Sep 17 00:00:00 2001 From: Maxim Poliakovski Date: Fri, 30 Dec 2022 21:39:27 +0100 Subject: [PATCH] Update Capstone and fix its compilation. --- CMakeLists.txt | 5 +---- thirdparty/capstone | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dbe95d6..b2905c8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,9 +24,6 @@ option(DPPC_BUILD_BENCHMARKS "Build benchmarking programs" OFF) option(DPPC_68K_DEBUGGER "Enable 68k debugging" OFF) if (DPPC_68K_DEBUGGER) - # Build capstone as static library. - set(CAPSTONE_BUILD_STATIC ON CACHE BOOL "") - # Turn off anything unnecessary. set(CAPSTONE_BUILD_SHARED OFF CACHE BOOL "") set(CAPSTONE_BUILD_TESTS OFF CACHE BOOL "") @@ -121,7 +118,7 @@ target_include_directories(dingusppc PRIVATE ${CLI11_ROOT}) endif() if (DPPC_68K_DEBUGGER) - target_link_libraries(dingusppc capstone-static) + target_link_libraries(dingusppc capstone) endif() if (DPPC_BUILD_PPC_TESTS) diff --git a/thirdparty/capstone b/thirdparty/capstone index bfb2e45..ab88926 160000 --- a/thirdparty/capstone +++ b/thirdparty/capstone @@ -1 +1 @@ -Subproject commit bfb2e45d76dd3dda08b40dfad6da94db01bd27ad +Subproject commit ab8892658790eb44f03b9047c6765bc3812d1ae1