File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -774,17 +774,7 @@ endif()
774
774
# Should we cross-compile the standard library for Windows?
775
775
is_sdk_requested (WINDOWS swift_build_windows )
776
776
if (swift_build_windows AND NOT "${CMAKE_SYSTEM_NAME} " STREQUAL "Windows" )
777
- if ("${SWIFT_HOST_VARIANT_ARCH} " STREQUAL "aarch64" )
778
- configure_sdk_windows (WINDOWS "Windows" "msvc" aarch64 )
779
- elseif ("${SWIFT_HOST_VARIANT_ARCH} " STREQUAL "armv7" )
780
- configure_sdk_windows (WINDOWS "Windows" "msvc" armv7 )
781
- elseif ("${SWIFT_HOST_VARIANT_ARCH} " STREQUAL "i686" )
782
- configure_sdk_windows (WINDOWS "Windows" "msvc" i686 )
783
- elseif ("${SWIFT_HOST_VARIANT_ARCH} " STREQUAL "x86_64" )
784
- configure_sdk_windows (WINDOWS "Windows" "msvc" x86_64 )
785
- else ()
786
- message (FATAL_ERROR "unable to calculate triple for Windows host on ${SWIFT_HOST_VARIANT_ARCH} " )
787
- endif ()
777
+ configure_sdk_windows (WINDOWS "Windows" "msvc" "aarch64;armv7;i686;x86_64" )
788
778
endif ()
789
779
790
780
if ("${SWIFT_SDKS} " STREQUAL "" )
You can’t perform that action at this time.
0 commit comments