Skip to content

Commit

Permalink
Under Windows, Rust detection is broken and leads to a CMake error. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire authored May 7, 2024
1 parent e356ab9 commit dae22a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmarks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ else(ZURI_FOUND)
message(STATUS "Zuri not found! Please install to include in benchmark.")
endif(ZURI_FOUND)


if(NOT WIN32)
# We want the check whether Rust is available before trying to build a crate.
CPMAddPackage(
NAME corrosion
Expand All @@ -263,7 +263,7 @@ CPMAddPackage(
OPTIONS "Rust_FIND_QUIETLY OFF"
)
include("${corrosion_SOURCE_DIR}/cmake/FindRust.cmake")

endif()

if(RUST_FOUND)
message(STATUS "Rust found: " ${Rust_VERSION} )
Expand Down

0 comments on commit dae22a5

Please sign in to comment.