Skip to content

Commit db0d698

Browse files
committed
Sync capstone to 'next' branch
1 parent c471e33 commit db0d698

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

capstonebundle/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ find_package(REDasm REQUIRED)
55

66
# Override some options and enable all needed architectures
77
set(CAPSTONE_INSTALL OFF CACHE BOOL "" FORCE)
8+
set(CAPSTONE_BUILD_CSTOOL OFF CACHE BOOL "" FORCE)
89
set(CAPSTONE_BUILD_TESTS OFF CACHE BOOL "" FORCE)
910
set(CAPSTONE_ARCHITECTURE_DEFAULT OFF CACHE BOOL "" FORCE)
10-
set(CAPSTONE_BUILD_SHARED OFF CACHE BOOL "" FORCE)
11+
set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
1112
set(CAPSTONE_ARM_SUPPORT ON CACHE BOOL "" FORCE)
1213
set(CAPSTONE_ARM64_SUPPORT ON CACHE BOOL "" FORCE)
1314
add_subdirectory(capstone EXCLUDE_FROM_ALL)
@@ -17,4 +18,4 @@ file(GLOB_RECURSE HEADERS plugin/*.h*)
1718
file(GLOB_RECURSE SOURCES plugin/*.cpp)
1819

1920
redasm_plugin(${PROJECT_NAME} ${ASSEMBLER_TYPE} ${HEADERS} ${SOURCES})
20-
target_link_libraries(${PROJECT_NAME} PRIVATE capstone-static)
21+
target_link_libraries(${PROJECT_NAME} PRIVATE capstone)

capstonebundle/capstone

0 commit comments

Comments
 (0)