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
1313 src/*/*.rs)
1414
1515if (CMAKE_BUILD_TYPE MATCHES Debug)
16- set (CARGO_CHECK_OPTS --workspace)
16+ set (CARGO_CHECK_OPTS --workspace -- target -dir= ${PROJECT_BINARY_DIR} / target )
1717 # 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 )
1919else ()
20- set (CARGO_CHECK_OPTS --workspace --release)
20+ set (CARGO_CHECK_OPTS --workspace --release -- target -dir= ${PROJECT_BINARY_DIR} / target )
2121 # 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 )
2323endif ()
2424
2525if (BN_BUILD_NUMBER)
You can’t perform that action at this time.
0 commit comments