We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a563ace commit 01576d7Copy full SHA for 01576d7
CMakeLists.txt
@@ -22,7 +22,7 @@ if(POLICY CMP0156)
22
endif()
23
24
if(POLICY CMP0157)
25
- if(CMAKE_SYSTEM_NAME STREQUAL Android)
+ if(CMAKE_HOST_SYSTEM_NAME STREQUAL Windows AND CMAKE_SYSTEM_NAME STREQUAL Android)
26
# CMP0157 causes swift-collections to fail to compile when targetting
27
# Android on Windows due to swift-driver not being present during the
28
# toolchain build. Disable it for now.
0 commit comments