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)
55
66# Override some options and enable all needed architectures
77set (CAPSTONE_INSTALL OFF CACHE BOOL "" FORCE)
8+ set (CAPSTONE_BUILD_CSTOOL OFF CACHE BOOL "" FORCE)
89set (CAPSTONE_BUILD_TESTS OFF CACHE BOOL "" FORCE)
910set (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)
1112set (CAPSTONE_ARM_SUPPORT ON CACHE BOOL "" FORCE)
1213set (CAPSTONE_ARM64_SUPPORT ON CACHE BOOL "" FORCE)
1314add_subdirectory (capstone EXCLUDE_FROM_ALL )
@@ -17,4 +18,4 @@ file(GLOB_RECURSE HEADERS plugin/*.h*)
1718file (GLOB_RECURSE SOURCES plugin/*.cpp)
1819
1920redasm_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