summaryrefslogtreecommitdiff
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-01 20:53:31 +0200
committerBrad King <brad.king@kitware.com>2015-04-02 13:00:48 -0400
commit06f61c26cfa19a47610ad718a784bdd7db105cf8 (patch)
tree1797c44c18bd596ae1ed8003012985fb374b6e87 /Source/cmPolicies.h
parentf2e07a6d90806d50b6897051c2275e38689d16e7 (diff)
downloadcmake-06f61c26cfa19a47610ad718a784bdd7db105cf8.tar.gz
Do not treat DEFINITIONS as a built-in directory property
Add policy CMP0059 to cover this change. The property has been deprecated since CMake 2.4 anyway. This will help clean up cmMakefile -- the DefineFlagsOrig member should not need to exist.
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index b18b337667..ced9d8ce9b 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -116,6 +116,8 @@ public:
CMP0057, ///< Disallow multiple MAIN_DEPENDENCY specifications
/// for the same file.
CMP0058, ///< Ninja requires custom command byproducts to be explicit
+ CMP0059, ///< Do not treat ``DEFINITIONS`` as a built-in directory
+ /// property.
/** \brief Always the last entry.
*