diff options
author | Brad King <brad.king@kitware.com> | 2019-07-19 15:55:51 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-07-19 15:57:10 (GMT) |
commit | dcdeade5ee2c1410563fc1bd422ea3a3acc2febc (patch) | |
tree | 58ce40057aa1ff63ceb3255d0499c3f3803251af /Help/policy | |
parent | 6618cbf38aa8298a5881669d8b095a4110f102f6 (diff) | |
parent | 282d9f31685906cd45b27961ea013edab8bacd6b (diff) | |
download | CMake-dcdeade5ee2c1410563fc1bd422ea3a3acc2febc.zip CMake-dcdeade5ee2c1410563fc1bd422ea3a3acc2febc.tar.gz CMake-dcdeade5ee2c1410563fc1bd422ea3a3acc2febc.tar.bz2 |
Merge topic 'msvc-runtime-library-doc'
282d9f3168 MSVC: Document behavior when MSVC_RUNTIME_LIBRARY is not set
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3573
Diffstat (limited to 'Help/policy')
-rw-r--r-- | Help/policy/CMP0091.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/policy/CMP0091.rst b/Help/policy/CMP0091.rst index 5b7c4e3..1a5878a 100644 --- a/Help/policy/CMP0091.rst +++ b/Help/policy/CMP0091.rst @@ -20,7 +20,9 @@ CMake 3.15 and above prefer to leave the MSVC runtime library selection flags out of the default :variable:`CMAKE_<LANG>_FLAGS_<CONFIG>` values and instead offer a first-class abstraction. The :variable:`CMAKE_MSVC_RUNTIME_LIBRARY` variable and :prop_tgt:`MSVC_RUNTIME_LIBRARY` target property may be set to -select the MSVC runtime library. +select the MSVC runtime library. If they are not set then CMake uses the +default value ``MultiThreaded$<$<CONFIG:Debug>:Debug>DLL`` which is +equivalent to the original flags. This policy provides compatibility with projects that have not been updated to be aware of the abstraction. The policy setting takes effect as of the |