Skip to content

Commit 10359d1

Browse files
committed
build: correct case for Windows
STREQUAL uses case sensitive comparisons, which is slightly faster for the configuration phase. Correct the case to ensure that the install succeeds.
1 parent bbfc064 commit 10359d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ if(SWIFT_NEED_EXPLICIT_LIBDISPATCH)
907907
message(SEND_ERROR "libdispatch requires a newer clang compiler (${CMAKE_C_COMPILER_VERSION} < 3.9)")
908908
endif()
909909

910-
if(SWIFT_HOST_VARIANT_SDK STREQUAL Windows)
910+
if(SWIFT_HOST_VARIANT_SDK STREQUAL WINDOWS)
911911
set(SOURCEKIT_LIBDISPATCH_RUNTIME_DIR bin)
912912
else()
913913
set(SOURCEKIT_LIBDISPATCH_RUNTIME_DIR lib)

0 commit comments

Comments
 (0)