Skip to content

Commit

Permalink
Sync capstone to 'next' branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Dax89 committed Apr 15, 2022
1 parent c471e33 commit db0d698
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions capstonebundle/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ find_package(REDasm REQUIRED)

# Override some options and enable all needed architectures
set(CAPSTONE_INSTALL OFF CACHE BOOL "" FORCE)
set(CAPSTONE_BUILD_CSTOOL OFF CACHE BOOL "" FORCE)
set(CAPSTONE_BUILD_TESTS OFF CACHE BOOL "" FORCE)
set(CAPSTONE_ARCHITECTURE_DEFAULT OFF CACHE BOOL "" FORCE)
set(CAPSTONE_BUILD_SHARED OFF CACHE BOOL "" FORCE)
set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
set(CAPSTONE_ARM_SUPPORT ON CACHE BOOL "" FORCE)
set(CAPSTONE_ARM64_SUPPORT ON CACHE BOOL "" FORCE)
add_subdirectory(capstone EXCLUDE_FROM_ALL)
Expand All @@ -17,4 +18,4 @@ file(GLOB_RECURSE HEADERS plugin/*.h*)
file(GLOB_RECURSE SOURCES plugin/*.cpp)

redasm_plugin(${PROJECT_NAME} ${ASSEMBLER_TYPE} ${HEADERS} ${SOURCES})
target_link_libraries(${PROJECT_NAME} PRIVATE capstone-static)
target_link_libraries(${PROJECT_NAME} PRIVATE capstone)
2 changes: 1 addition & 1 deletion capstonebundle/capstone

0 comments on commit db0d698

Please sign in to comment.