Skip to content

Commit ede186c

Browse files
authored
Merge pull request swiftlang#71980 from compnerd/build-host-target
SwiftShims: use the correct variable for the behaviour check
2 parents c18c7a6 + 82954fc commit ede186c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/SwiftShims/swift/shims/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ else()
129129
set(clang_headers_location "${LLVM_LIBRARY_OUTPUT_INTDIR}/clang/${CLANG_VERSION_MAJOR}")
130130
endif()
131131

132-
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
132+
if("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Windows")
133133
set(cmake_symlink_option "copy_directory")
134134
else()
135135
set(cmake_symlink_option "create_symlink")

0 commit comments

Comments
 (0)