Skip to content

Commit 94983ce

Browse files
authored
Merge pull request #29821 from drodriguez/windows-fix-host-variant-case
[windows] Compare SWIFT_HOST_VARIANT against lowercase value.
2 parents ed8d435 + 5c66f0e commit 94983ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittests/runtime/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ if(("${SWIFT_HOST_VARIANT_SDK}" STREQUAL "${SWIFT_PRIMARY_VARIANT_SDK}") AND
8585
PRIVATE
8686
swiftCore_EXPORTS)
8787

88-
if(SWIFT_HOST_VARIANT STREQUAL WINDOWS)
88+
if(SWIFT_HOST_VARIANT STREQUAL "windows")
8989
target_compile_definitions(SwiftRuntimeTests PRIVATE
9090
_ENABLE_EXTENDED_ALIGNED_STORAGE)
9191
endif()

0 commit comments

Comments
 (0)