Skip to content

Commit

Permalink
RUST WIN CI TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
grandchild committed Jun 29, 2024
1 parent 7d2dd9c commit 263ed3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,12 @@ else()
OUTPUT_VARIABLE RUST_LIBDIR
OUTPUT_STRIP_TRAILING_WHITESPACE
)
if(NOT IS_DIRECTORY ${RUST_LIBDIR})
if(NOT ${RUST_LIBDIR} OR NOT IS_DIRECTORY ${RUST_LIBDIR})
message(WARNING "Rust toolchain for \"${RUST_TARGET}\" not found. Rust code skipped.")
set(SKIP_RUST ON)
endif()
endif()
message(INFO "Rust tools found at ${RUSTC}, ${CARGO}, ${RUST_LIBDIR}")
if(NOT SKIP_RUST)
ExternalProject_Add(avsrs
DEPENDS libavs
Expand Down

0 comments on commit 263ed3c

Please sign in to comment.