summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-03-06 19:21:38 (GMT)
committerBrad King <brad.king@kitware.com>2018-03-07 12:48:40 (GMT)
commit7723e9a058c579e3535df9bbe62ea218200e4250 (patch)
treea884f7554a019e372ef9862358a92bb60e4b7799 /Source/cmPolicies.h
parent2124a1364a620084c24d5654c2106e5aea88c55c (diff)
downloadCMake-7723e9a058c579e3535df9bbe62ea218200e4250.zip
CMake-7723e9a058c579e3535df9bbe62ea218200e4250.tar.gz
CMake-7723e9a058c579e3535df9bbe62ea218200e4250.tar.bz2
Do not produce legacy _LIB_DEPENDS cache entries
Introduce policy `CMP0073` to avoid producing these cache entries. Fixes: #16364
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index c39f927..a784f98 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -214,6 +214,9 @@ class cmMakefile;
3, 10, 0, cmPolicies::WARN) \
SELECT(POLICY, CMP0072, \
"FindOpenGL prefers GLVND by default when available.", 3, 11, 0, \
+ cmPolicies::WARN) \
+ SELECT(POLICY, CMP0073, \
+ "Do not produce legacy _LIB_DEPENDS cache entries.", 3, 12, 0, \
cmPolicies::WARN)
#define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1)
@@ -238,7 +241,8 @@ class cmMakefile;
F(CMP0063) \
F(CMP0065) \
F(CMP0068) \
- F(CMP0069)
+ F(CMP0069) \
+ F(CMP0073)
/** \class cmPolicies
* \brief Handles changes in CMake behavior and policies