diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2019-07-16 18:13:43 (GMT) |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2019-07-24 13:36:30 (GMT) |
commit | d6be117ca06154bdf9f0b72c6159a496da1646f7 (patch) | |
tree | 1c74e672ba0dedbd55f3c7b8a7d338f6c82ff211 /Source/cmPolicies.h | |
parent | a1debb8b0844128fcdd9b75223b31c4e386d3d33 (diff) | |
download | CMake-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.h | 6 |
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) \ |