Commit a5dfbc2
authored
[CMake] Set CMP0157 to OLD when targeting Android with the Windows toolchain (#1009)
There is no early swift-driver build for the Windows toolchain. As a
result, swift-testing fails to build properly when CMP0157 is set to NEW
due to object files not being generated.
This sets CMP0157 to OLD when targeting Android with the Windows
toolchain until the early swift-driver is available on Windows. This is
analog to
swiftlang/swift-corelibs-foundation#5180
### Checklist:
- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.1 parent fc6f68c commit a5dfbc2
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
13 | 20 | | |
14 | 21 | | |
15 | 22 | | |
| |||
0 commit comments