-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CMake] Set CMP0157 to OLD when targeting Android with the Windows toolchain #1009
[CMake] Set CMP0157 to OLD when targeting Android with the Windows toolchain #1009
Conversation
@compnerd Would you please help review? |
@swift-ci test |
Not a committer but LGTM |
Waiting for Saleem to sign off, then we can squash and merge. |
No need, he didn't comment on the linked Foundation pull either, and this is a tiny pull that his TBC colleagues @weliveindetail and @Steelskin need and won't break anything. If you're okay with it, @grynspan, please go ahead and merge. |
Alrighty, it's clear the change should only impact Android, so… merging. |
Thanks for moving on with this so quickly |
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: