summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2022-08-12 23:07:10 (GMT)
committerCraig Scott <craig.scott@crascit.com>2022-08-12 23:11:35 (GMT)
commitc1b07ca9daf96982d5a1d920e17ce38c62d031cc (patch)
tree8b7c767fdcedd01b3dcf68dd1c51317942bf38fc /Help/prop_tgt
parentc4a07be9262f12ea075736dcd8dda4a030e37e89 (diff)
downloadCMake-c1b07ca9daf96982d5a1d920e17ce38c62d031cc.zip
CMake-c1b07ca9daf96982d5a1d920e17ce38c62d031cc.tar.gz
CMake-c1b07ca9daf96982d5a1d920e17ce38c62d031cc.tar.bz2
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.
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r--Help/prop_tgt/MSVC_RUNTIME_LIBRARY.rst4
1 files changed, 3 insertions, 1 deletions
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$<$<CONFIG:Debug>:Debug>DLL`` to select a MSVC runtime library.
.. note::