mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-02-01 17:30:17 +00:00
Update Capstone and fix its compilation.
This commit is contained in:
parent
9ea4a465f4
commit
eb3f978c7b
@ -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)
|
||||
|
2
thirdparty/capstone
vendored
2
thirdparty/capstone
vendored
@ -1 +1 @@
|
||||
Subproject commit bfb2e45d76dd3dda08b40dfad6da94db01bd27ad
|
||||
Subproject commit ab8892658790eb44f03b9047c6765bc3812d1ae1
|
Loading…
x
Reference in New Issue
Block a user