summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2019-07-16 18:13:43 (GMT)
committerRobert Maynard <robert.maynard@kitware.com>2019-07-24 13:36:30 (GMT)
commitd6be117ca06154bdf9f0b72c6159a496da1646f7 (patch)
tree1c74e672ba0dedbd55f3c7b8a7d338f6c82ff211 /Source/cmPolicies.h
parenta1debb8b0844128fcdd9b75223b31c4e386d3d33 (diff)
downloadCMake-d6be117ca06154bdf9f0b72c6159a496da1646f7.zip
CMake-d6be117ca06154bdf9f0b72c6159a496da1646f7.tar.gz
CMake-d6be117ca06154bdf9f0b72c6159a496da1646f7.tar.bz2
ExternalProject: Support not initializing any submodules
Fixes #15592
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 e0f48de..92c80bb 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -286,7 +286,11 @@ class cmMakefile;
3, 16, 0, cmPolicies::WARN) \
SELECT(POLICY, CMP0096, \
"project() preserves leading zeros in version components.", 3, 16, \
- 0, cmPolicies::WARN)
+ 0, cmPolicies::WARN) \
+ SELECT(POLICY, CMP0097, \
+ "ExternalProject_Add with GIT_SUBMODULES \"\" initializes no " \
+ "submodules.", \
+ 3, 16, 0, cmPolicies::WARN)
#define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1)
#define CM_FOR_EACH_POLICY_ID(POLICY) \