-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
[Windows] Teach Build-Testing how to find Foundation #76489
Conversation
swiftlang/swift-testing#693 |
swiftlang/swift-testing#693 |
Pass `Foundation_DIR` to the cmake.
5bcca25
to
ff0f923
Compare
swiftlang/swift-testing#693 |
swiftlang/swift-testing#693 |
2 similar comments
swiftlang/swift-testing#693 |
swiftlang/swift-testing#693 |
swiftlang/swift-testing#693 |
1 similar comment
swiftlang/swift-testing#693 |
swiftlang/swift-testing#693 |
@@ -1934,6 +1936,8 @@ function Build-Testing([Platform]$Platform, $Arch, [switch]$Test = $false) { | |||
-Defines (@{ | |||
BUILD_SHARED_LIBS = "YES"; | |||
CMAKE_BUILD_WITH_INSTALL_RPATH = "YES"; | |||
dispatch_DIR = "$DispatchBinaryCache\cmake\modules"; | |||
Foundation_DIR = "$FoundationBinaryCache\cmake\modules"; | |||
SwiftSyntax_DIR = (Get-HostProjectCMakeModules Compilers); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems suspect! But this is outside of your change I suppose.
Pass
Foundation_DIR
to the CMake configuration.