summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-01 18:53:31 (GMT)
committerBrad King <brad.king@kitware.com>2015-04-02 17:00:48 (GMT)
commit06f61c26cfa19a47610ad718a784bdd7db105cf8 (patch)
tree1797c44c18bd596ae1ed8003012985fb374b6e87 /Source/cmPolicies.h
parentf2e07a6d90806d50b6897051c2275e38689d16e7 (diff)
downloadCMake-06f61c26cfa19a47610ad718a784bdd7db105cf8.zip
CMake-06f61c26cfa19a47610ad718a784bdd7db105cf8.tar.gz
CMake-06f61c26cfa19a47610ad718a784bdd7db105cf8.tar.bz2
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 b18b337..ced9d8c 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.
*