summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2019-07-26 16:02:15 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-07-26 16:02:34 (GMT)
commit8fd481a899b651150d317cdfe448cbf628933e4d (patch)
treedd3e1dc17d36815724a2e325ad9bfeaadb58af8b /Source
parent618bd463ad853da9cd4594bc1ff08fb272a7450d (diff)
parentd6be117ca06154bdf9f0b72c6159a496da1646f7 (diff)
downloadCMake-8fd481a899b651150d317cdfe448cbf628933e4d.zip
CMake-8fd481a899b651150d317cdfe448cbf628933e4d.tar.gz
CMake-8fd481a899b651150d317cdfe448cbf628933e4d.tar.bz2
Merge topic 'ep_support_no_submodule_init'
d6be117ca0 ExternalProject: Support not initializing any submodules Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3579
Diffstat (limited to 'Source')
-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) \