forked from googleapis/google-cloud-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: support for static builds with MSVC (googleapis#5856)
My previous cleanup was incorrect. CMake protects usage of `CMAKE_MSVC_RUNTIME_LIBRARY` with a policy, the variable (or rather the `MSVC_RUNTIME_LIBRARY` property set by this variable) has no effect if the `CMP0091` policy is set to `OLD`, as would be in our builds because we say that version 3.5 is the behavior we want in `cmake_minimum_required()`.
- Loading branch information
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters