File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,10 @@ find_package(REDasm REQUIRED)
5
5
6
6
# Override some options and enable all needed architectures
7
7
set (CAPSTONE_INSTALL OFF CACHE BOOL "" FORCE)
8
+ set (CAPSTONE_BUILD_CSTOOL OFF CACHE BOOL "" FORCE)
8
9
set (CAPSTONE_BUILD_TESTS OFF CACHE BOOL "" FORCE)
9
10
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)
11
12
set (CAPSTONE_ARM_SUPPORT ON CACHE BOOL "" FORCE)
12
13
set (CAPSTONE_ARM64_SUPPORT ON CACHE BOOL "" FORCE)
13
14
add_subdirectory (capstone EXCLUDE_FROM_ALL )
@@ -17,4 +18,4 @@ file(GLOB_RECURSE HEADERS plugin/*.h*)
17
18
file (GLOB_RECURSE SOURCES plugin/*.cpp)
18
19
19
20
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)
You can’t perform that action at this time.
0 commit comments