summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorDennis Klein <d.klein@gsi.de>2019-05-03 18:23:08 (GMT)
committerBrad King <brad.king@kitware.com>2019-05-13 15:57:12 (GMT)
commit5108759ed2bb211105f02fcc857fc89f3db768f0 (patch)
treeda3ffd543d18d689344268d19d208f416fa8540b /Source/cmPolicies.h
parentf9feab40a195716a6bba11b39a809a18830df956 (diff)
downloadCMake-5108759ed2bb211105f02fcc857fc89f3db768f0.zip
CMake-5108759ed2bb211105f02fcc857fc89f3db768f0.tar.gz
CMake-5108759ed2bb211105f02fcc857fc89f3db768f0.tar.bz2
FindBoost: Introduce CMP0093 to report Boost_VERSION in x.y.z format
This aligns module mode behaviour with config mode.
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index 0e42295..4bb4c53 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -273,7 +273,9 @@ class cmMakefile;
0, cmPolicies::WARN) \
SELECT(POLICY, CMP0092, \
"MSVC warning flags are not in CMAKE_<LANG>_FLAGS by default.", 3, \
- 15, 0, cmPolicies::WARN)
+ 15, 0, cmPolicies::WARN) \
+ SELECT(POLICY, CMP0093, "FindBoost reports Boost_VERSION in x.y.z format.", \
+ 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) \