Skip to content

Commit

Permalink
fix: build config
Browse files Browse the repository at this point in the history
  • Loading branch information
rustyconover committed Feb 9, 2025
1 parent 2c57fe2 commit c5127c4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ if("${OS_NAME}" STREQUAL "linux")
set(Rust_CARGO_TARGET ${RUST_ENV_VARS} CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc)
set(Rust_CARGO_TARGET "aarch64-unknown-linux-gnu")
else()
set(Rust_CARGO_TARGET "x86_64-unknown-linux-gnu")
string(FIND "${RUST_TARGETS}" "musl" MUSL_TARGET_FOUND)
if(NOT MUSL_TARGET_FOUND EQUAL -1)
set(Rust_CARGO_TARGET "x86_64-unknown-linux-musl")
else()
set(Rust_CARGO_TARGET "x86_64-unknown-linux-gnu")
endif()
endif()
elseif("${OS_NAME}" STREQUAL "osx")
if ("${OSX_BUILD_ARCH}" STREQUAL "arm64")
Expand Down
2 changes: 1 addition & 1 deletion extension-ci-tools

0 comments on commit c5127c4

Please sign in to comment.