Skip to content

Windows: Check for CMAKE_BUILD_TYPE_DEBUG instead of RELEASE #16005

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

Merged
merged 1 commit into from
Apr 18, 2018

Conversation

troughton
Copy link
Contributor

CMAKE_BUILD_TYPE can be Debug, Release, RelWithDebInfo, or MinSizeRel. We should only link the standard library against the debug CRT in the Debug configuration, rather than any not-Release configurations.

@compnerd

… since MinSizeRel and RelWithDebugInfo are also configurations.
@compnerd
Copy link
Member

Thanks!

@compnerd
Copy link
Member

@swift-ci please test and merge

@swift-ci swift-ci merged commit 50103cd into swiftlang:master Apr 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants