diff options
author | Craig Scott <craig.scott@crascit.com> | 2024-05-25 08:59:01 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2024-05-29 08:52:24 (GMT) |
commit | 4370fcf7505bf0dc651478ab581f19c474278c59 (patch) | |
tree | b50809ab854330bfb7cb8012f4121c28ec7e5974 /Source/cmPolicies.h | |
parent | bc70b458adb6204fc47a6f19c3216fcac86573ce (diff) | |
download | CMake-4370fcf7505bf0dc651478ab581f19c474278c59.zip CMake-4370fcf7505bf0dc651478ab581f19c474278c59.tar.gz CMake-4370fcf7505bf0dc651478ab581f19c474278c59.tar.bz2 |
FetchContent: Deprecate FetchContent_Populate(depName)
Projects should use FetchContent_MakeAvailable(depName)
instead. Policy CMP0169 provides backward compatibility.
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r-- | Source/cmPolicies.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h index 9dd3ce5..076066f 100644 --- a/Source/cmPolicies.h +++ b/Source/cmPolicies.h @@ -518,6 +518,10 @@ class cmMakefile; SELECT(POLICY, CMP0168, \ "FetchContent implements steps directly instead of through a " \ "sub-build.", \ + 3, 30, 0, cmPolicies::WARN) \ + SELECT(POLICY, CMP0169, \ + "FetchContent_Populate(depName) single-argument signature is " \ + "deprecated.", \ 3, 30, 0, cmPolicies::WARN) #define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1) |