summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-10-07 18:05:34 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-10-13 13:46:54 (GMT)
commitfd50a75fa01b4727a58350b494dbb23f6b0f103f (patch)
tree6d4321f57bb2460e7ec76b6d5d76761b485b072c /Source/cmPolicies.h
parent521847809f4511352f01688227e8a22bc906f578 (diff)
downloadCMake-fd50a75fa01b4727a58350b494dbb23f6b0f103f.zip
CMake-fd50a75fa01b4727a58350b494dbb23f6b0f103f.tar.gz
CMake-fd50a75fa01b4727a58350b494dbb23f6b0f103f.tar.bz2
CMP0115: Require source file extensions to be explicit
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 958d061..f9f7d0e 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -340,7 +340,9 @@ class cmMakefile;
3, 19, 0, cmPolicies::WARN) \
SELECT(POLICY, CMP0114, \
"ExternalProject step targets fully adopt their steps.", 3, 19, 0, \
- cmPolicies::WARN)
+ cmPolicies::WARN) \
+ SELECT(POLICY, CMP0115, "Source file extensions must be explicit.", 3, 20, \
+ 0, cmPolicies::WARN)
#define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1)
#define CM_FOR_EACH_POLICY_ID(POLICY) \