summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-10-02 21:35:40 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-10-13 14:19:46 (GMT)
commit146e1e6ba14d964bf120635aca953cc76e5b2282 (patch)
treee8fd8309f7288a275322dcbc14a8ee99370aba4b /Source/cmPolicies.h
parent596439b1bbac44b4218f65615d93e9fe9bd43922 (diff)
downloadCMake-146e1e6ba14d964bf120635aca953cc76e5b2282.zip
CMake-146e1e6ba14d964bf120635aca953cc76e5b2282.tar.gz
CMake-146e1e6ba14d964bf120635aca953cc76e5b2282.tar.bz2
Ninja: Transform DEPFILEs with policy CMP0116
Fixes: #21267
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index f9f7d0e..99bac98 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -342,7 +342,10 @@ class cmMakefile;
"ExternalProject step targets fully adopt their steps.", 3, 19, 0, \
cmPolicies::WARN) \
SELECT(POLICY, CMP0115, "Source file extensions must be explicit.", 3, 20, \
- 0, cmPolicies::WARN)
+ 0, cmPolicies::WARN) \
+ SELECT(POLICY, CMP0116, \
+ "Ninja generators transform DEPFILEs from add_custom_command().", 3, \
+ 20, 0, cmPolicies::WARN)
#define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1)
#define CM_FOR_EACH_POLICY_ID(POLICY) \