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

fix(CMake): Select MSVC runtime library with variable CMAKE_MSVC_RUNTIME_LIBRARY (fixes #4817) #4823

Merged
merged 3 commits into from
Dec 27, 2024

Conversation

matejk
Copy link
Contributor

@matejk matejk commented Dec 18, 2024

Use CMake features to select MSVC runtime library with CMAKE_MSVC_RUNTIME_LIBRARY instead of modifying compiler options.

Resolves #4817

…IME_LIBRARY instead of modifying compiler flags.
@matejk matejk added platform_specific cmake Related to cmake build system labels Dec 18, 2024
@matejk matejk added this to the Release 1.14.1 milestone Dec 18, 2024
@matejk matejk self-assigned this Dec 18, 2024
@matejk matejk merged commit c9dc1f9 into main Dec 27, 2024
46 checks passed
@matejk matejk deleted the 4817_select-runtime-with-cmake-msvc-runtime-library branch December 27, 2024 11:47
matejk added a commit that referenced this pull request Dec 27, 2024
…IME_LIBRARY (fixes #4817) (#4823)

* fix(CMake): Select MSVC runtime library with variable CMAKE_MSVC_RUNTIME_LIBRARY instead of modifying compiler flags.

* enh(CI): Add static and MT MSVC builds.

* fix(CMake): Correct TestLibrary DLL name when building with MSVC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmake Related to cmake build system platform_specific
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Windows Static Build Problem / Changed behaviour of POCO_MT (CMake 3.15)
1 participant