Skip to content

Commit

Permalink
use host system name
Browse files Browse the repository at this point in the history
  • Loading branch information
keith committed Sep 30, 2024
1 parent c4f0368 commit 0008b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/cmake/caches/Release.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,6 @@ set_final_stage_var(LLVM_ENABLE_PROJECTS "${LLVM_RELEASE_ENABLE_PROJECTS}" STRIN
set_final_stage_var(CPACK_GENERATOR "TXZ" STRING)
set_final_stage_var(CPACK_ARCHIVE_THREADS "0" STRING)

if(CMAKE_SYSTEM_NAME MATCHES "Darwin")
if(${CMAKE_HOST_SYSTEM_NAME} MATCHES "Darwin")
set_final_stage_var(LLVM_USE_STATIC_ZSTD "ON" BOOL)
endif()

0 comments on commit 0008b3d

Please sign in to comment.