Commit 056b77b
authored
Set CMP0157 to OLD only for Windows hosts (#5195)
- **Explanation**:
There is no early swift-driver build for the Windows toolchain. As
a result, swift-collections fails to build properly when CMP0157
is set to NEW due to object files not being generated.
This sets CMP0157 to OLD when targetting Android until the early
swift-driver is available on Windows.
- **Scope**:
The changes are limited to the Android build on Windows.
- **Issues**:
- swiftlang/swift-foundation#1222
- **Original PRs**:
#5180
- **Risk**:
Very low.
- **Testing**:
Fixes the Swift CI 6.1 build.
- **Reviewers**:
@finagolfin1 parent 21bb65e commit 056b77b
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
| |||
0 commit comments