From c1b07ca9daf96982d5a1d920e17ce38c62d031cc Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Sat, 13 Aug 2022 09:07:10 +1000 Subject: Help: MSVC_RUNTIME_LIBRARY is initialized from associated variable The CMAKE_MSVC_RUNTIME_LIBRARY variable docs mention that it initializes the MSVC_RUNTIME_LIBRARY target property, but the property's docs was missing any mention of the variable. --- Help/prop_tgt/MSVC_RUNTIME_LIBRARY.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Help/prop_tgt/MSVC_RUNTIME_LIBRARY.rst b/Help/prop_tgt/MSVC_RUNTIME_LIBRARY.rst index 9b978b2..9f13d38 100644 --- a/Help/prop_tgt/MSVC_RUNTIME_LIBRARY.rst +++ b/Help/prop_tgt/MSVC_RUNTIME_LIBRARY.rst @@ -21,7 +21,9 @@ support per-configuration specification. For example, the code: selects for the target ``foo`` a multi-threaded statically-linked runtime library with or without debug information depending on the configuration. -If this property is not set then CMake uses the default value +The property is initialized from the value of the +:variable:`CMAKE_MSVC_RUNTIME_LIBRARY` variable, if it is set. +If the property is not set, then CMake uses the default value ``MultiThreaded$<$:Debug>DLL`` to select a MSVC runtime library. .. note:: -- cgit v0.12