diff options
author | Brad King <brad.king@kitware.com> | 2019-04-22 11:50:53 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-04-22 11:51:01 (GMT) |
commit | d0e37018616d43defbc16c752ca9b2be72261fb6 (patch) | |
tree | df9dcdb44073a0566f7b8e573b985613a2033799 /Source/cmPolicies.h | |
parent | 246fdcc049caf19cc85f3ed7a6c20940c6c3cb00 (diff) | |
parent | 1baf122cd41d6500139649661052236b8e684565 (diff) | |
download | CMake-d0e37018616d43defbc16c752ca9b2be72261fb6.zip CMake-d0e37018616d43defbc16c752ca9b2be72261fb6.tar.gz CMake-d0e37018616d43defbc16c752ca9b2be72261fb6.tar.bz2 |
Merge topic 'msvc-warning-flags'
1baf122cd4 MSVC: Do not add /W3 to CMAKE_<LANG>_FLAGS by default
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3250
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r-- | Source/cmPolicies.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h index 113dd35..0e42295 100644 --- a/Source/cmPolicies.h +++ b/Source/cmPolicies.h @@ -270,7 +270,10 @@ class cmMakefile; 15, 0, cmPolicies::WARN) \ SELECT(POLICY, CMP0091, \ "MSVC runtime library flags are selected by an abstraction.", 3, 15, \ - 0, cmPolicies::WARN) + 0, cmPolicies::WARN) \ + SELECT(POLICY, CMP0092, \ + "MSVC warning flags are not in CMAKE_<LANG>_FLAGS by default.", 3, \ + 15, 0, cmPolicies::WARN) #define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1) #define CM_FOR_EACH_POLICY_ID(POLICY) \ |