Skip to content
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

[BUILD] CMakeLists.txt: Enable CMAKE_MSVC_RUNTIME_LIBRARY support #2652

Merged
merged 4 commits into from
Jun 6, 2024

Commits on Apr 29, 2024

  1. CMakeLists.txt: Enable CMAKE_MSVC_RUNTIME_LIBRARY support

    The documentation for CMAKE_MSVC_RUNTIME_LIBRARY states [1]:
    
    > This variable has effect only when policy CMP0091 is set to NEW prior to
    > the first project() or enable_language() command that enables a language
    > using a compiler targeting the MSVC ABI.
    
    so the current usage of CMAKE_MSVC_RUNTIME_LIBRARY for vcpkg does not work
    at all.
    
    Let's fix that by setting policy 91 to new if present.
    
    [1]: https://cmake.org/cmake/help/latest/variable/CMAKE_MSVC_RUNTIME_LIBRARY.html
    t-b committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    b70f658 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. Configuration menu
    Copy the full SHA
    dcb26a6 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. Configuration menu
    Copy the full SHA
    3ff8b97 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2566fa7 View commit details
    Browse the repository at this point in the history