From d13f417153671d157ae7b12efb83fd2c2742c210 Mon Sep 17 00:00:00 2001 From: jakob Date: Sat, 29 Jun 2024 10:20:03 +0200 Subject: [PATCH] RUST WIN CI TEST --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index af17bac..40c8345 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -237,12 +237,13 @@ 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() if(NOT SKIP_RUST) + message(INFO "Rust tools found at ${RUSTC}, ${CARGO}, ${RUST_LIBDIR}") ExternalProject_Add(avsrs DEPENDS libavs SOURCE_DIR "${CMAKE_SOURCE_DIR}"