File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ endif()
3030
3131# TODO : RUSTDOCFLAGS="--theme binja-dark.css --default-theme=binja-dark"
3232add_custom_target (rust_api ALL DEPENDS ${PROJECT_BINARY_DIR} /rust_api.stamp)
33+ add_dependencies (rust_api binaryninjaapi)
3334
3435add_custom_target (rust_docs ALL DEPENDS ${PROJECT_BINARY_DIR} /target /doc )
3536add_dependencies (rust_docs binaryninjaapi rust_api)
@@ -49,7 +50,7 @@ add_custom_command(
4950 COMMAND ${CMAKE_COMMAND} -E env BINARYNINJADIR=${BN_INSTALL_BIN_DIR} ${RUSTUP_CHECK_COMMAND} ${CARGO_CHECK_OPTS}
5051 COMMAND ${CMAKE_COMMAND} -E touch ${PROJECT_BINARY_DIR} /rust_api.stamp
5152 WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
52- DEPENDS ${RUST_API_SOURCES} $<TARGET_FILE:binaryninjaapi>
53+ DEPENDS ${RUST_API_SOURCES}
5354 COMMENT "Checking Rust API"
5455 VERBATIM
5556)
You can’t perform that action at this time.
0 commit comments