summaryrefslogtreecommitdiff
path: root/plugins/warp
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-02-17 20:30:51 -0500
committerMason Reed <mason@vector35.com>2025-02-17 20:30:51 -0500
commitdf8f369847ed4d4bd94a4c358867a4c01287f0af (patch)
treeec38771a176a9acd7fdcdfb3102bdb47bfa965dc /plugins/warp
parent0318574915649969318818128164346398386141 (diff)
Fix some misc Rust CMakeLists.txt issues
GLOB_RECURSE has been cut down a little bit to make configuring times reasonable
Diffstat (limited to 'plugins/warp')
-rw-r--r--plugins/warp/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/warp/CMakeLists.txt b/plugins/warp/CMakeLists.txt
index 165740c9..f529df14 100644
--- a/plugins/warp/CMakeLists.txt
+++ b/plugins/warp/CMakeLists.txt
@@ -52,10 +52,9 @@ set(BINJA_LIB_DIR ${BN_INSTALL_BIN_DIR})
set_property(TARGET ${PROJECT_NAME} PROPERTY OUTPUT_FILE_PATH ${OUTPUT_FILE_PATH})
# Add the whole api to the depends too
-file(GLOB_RECURSE API_SOURCES CONFIGURE_DEPENDS
+file(GLOB API_SOURCES CONFIGURE_DEPENDS
${BN_API_SOURCE_DIR}/binaryninjacore.h
- ${BN_API_SOURCE_DIR}/rust/src/*.rs
- ${BN_API_SOURCE_DIR}/rust/binaryninjacore-sys/src/*.rs)
+ ${BN_API_SOURCE_DIR}/rust/src/*/*.rs)
find_program(RUSTUP_PATH rustup REQUIRED HINTS ~/.cargo/bin)
set(RUSTUP_COMMAND ${RUSTUP_PATH} run ${CARGO_STABLE_VERSION} cargo)