diff options
author | Craig Scott <craig.scott@crascit.com> | 2023-04-27 13:12:03 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-04-27 13:12:26 (GMT) |
commit | 0ca98beb5747de97040227695732f660b7b91fc0 (patch) | |
tree | f97d62a34b926e8464bf1d60c8f969b059202211 /Source/cmPolicies.h | |
parent | 2fbcc81440343bdb1bca4e164fdefec98eaa1196 (diff) | |
parent | 550f63447d4c7d2db6ccbeaf1f6378aa6f7af4ed (diff) | |
download | CMake-0ca98beb5747de97040227695732f660b7b91fc0.zip CMake-0ca98beb5747de97040227695732f660b7b91fc0.tar.gz CMake-0ca98beb5747de97040227695732f660b7b91fc0.tar.bz2 |
Merge topic 'ExternalProject-relative-git-urls'
550f63447d ExternalProject/FetchContent: Support relative remote URLs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7988
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r-- | Source/cmPolicies.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h index fe88382..23e50a9 100644 --- a/Source/cmPolicies.h +++ b/Source/cmPolicies.h @@ -450,7 +450,12 @@ class cmMakefile; 27, 0, cmPolicies::WARN) \ SELECT(POLICY, CMP0149, \ "Visual Studio generators select latest Windows SDK by default.", 3, \ - 27, 0, cmPolicies::WARN) + 27, 0, cmPolicies::WARN) \ + SELECT(POLICY, CMP0150, \ + "ExternalProject_Add and FetchContent_Declare commands " \ + "treat relative GIT_REPOSITORY paths as being relative " \ + "to the parent project's remote.", \ + 3, 27, 0, cmPolicies::WARN) #define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1) #define CM_FOR_EACH_POLICY_ID(POLICY) \ |