Merge pull request #71980 from compnerd/build-host-target

SwiftShims: use the correct variable for the behaviour check
This commit is contained in:
Saleem Abdulrasool
2024-03-01 07:45:53 -08:00
committed by GitHub

View File

@@ -129,7 +129,7 @@ else()
set(clang_headers_location "${LLVM_LIBRARY_OUTPUT_INTDIR}/clang/${CLANG_VERSION_MAJOR}")
endif()
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
if("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Windows")
set(cmake_symlink_option "copy_directory")
else()
set(cmake_symlink_option "create_symlink")