summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2023-07-24 20:59:28 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2023-07-25 15:09:56 (GMT)
commitff12a57d5e459fac4cf2b11f90a681bc165c4a42 (patch)
tree51667de8b7d56a7e7477bc7a738d963a30a38310 /Source/cmPolicies.h
parent89a692aa18d0d1f80c131fdc3eba34fea195f00a (diff)
downloadCMake-ff12a57d5e459fac4cf2b11f90a681bc165c4a42.zip
CMake-ff12a57d5e459fac4cf2b11f90a681bc165c4a42.tar.gz
CMake-ff12a57d5e459fac4cf2b11f90a681bc165c4a42.tar.bz2
exec_program(): Remove by policy CMP0153
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index 25af6a8..26c141d 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -463,7 +463,9 @@ class cmMakefile;
SELECT( \
POLICY, CMP0152, \
"file(REAL_PATH) resolves symlinks before collapsing ../ components.", 3, \
- 28, 0, cmPolicies::WARN)
+ 28, 0, cmPolicies::WARN) \
+ SELECT(POLICY, CMP0153, "The exec_program command should not be called.", \
+ 3, 28, 0, cmPolicies::WARN)
#define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1)
#define CM_FOR_EACH_POLICY_ID(POLICY) \