Please provide way to override CMAKE_MSVC_RUNTIME_LIBRARY
in triplet file
#43444
ccpjosephf
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We never link against the debug version of CRT
Even when we build debug configurations, we always want to pass /MD or /MT, never /MDd or /MTd
However there doesn't seem to be a way of overriding this behavior for building dependencies in VCPKG without setting
VCPKG_CHAINLOAD_TOOLCHAIN_FILE
in the triplet and settingCMAKE_MSVC_RUNTIME_LIBRARY
from there. SettingVCPKG_CHAINLOAD_TOOLCHAIN_FILE
causes all compiler detection to be dropped, which is also undesirable.If there is already a simple way to do what I have described, could someone point this out to me? Is there is a way to set
VCPKG_CHAINLOAD_TOOLCHAIN_FILE
and keep the compiler detection?Otherwise this is a feature request
Beta Was this translation helpful? Give feedback.
All reactions