File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ file(GLOB RUST_API_SOURCES CONFIGURE_DEPENDS
13
13
src/*/*.rs )
14
14
15
15
if (CMAKE_BUILD_TYPE MATCHES Debug )
16
- set (CARGO_CHECK_OPTS --workspace )
16
+ set (CARGO_CHECK_OPTS --workspace --target-dir=${PROJECT_BINARY_DIR}/target )
17
17
# Documentation for both binaryninja and binaryninjacore-sys crates
18
- set (CARGO_DOC_OPTS --no-deps -p binaryninja -p binaryninjacore-sys )
18
+ set (CARGO_DOC_OPTS --no-deps -p binaryninja -p binaryninjacore-sys --target-dir=${PROJECT_BINARY_DIR}/target )
19
19
else ()
20
- set (CARGO_CHECK_OPTS --workspace --release )
20
+ set (CARGO_CHECK_OPTS --workspace --release --target-dir=${PROJECT_BINARY_DIR}/target )
21
21
# Documentation for both binaryninja and binaryninjacore-sys crates
22
- set (CARGO_DOC_OPTS --no-deps --release -p binaryninja -p binaryninjacore-sys )
22
+ set (CARGO_DOC_OPTS --no-deps --release -p binaryninja -p binaryninjacore-sys --target-dir=${PROJECT_BINARY_DIR}/target )
23
23
endif ()
24
24
25
25
if (BN_BUILD_NUMBER )
You can’t perform that action at this time.
0 commit comments