summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-21 21:00:44 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-30 21:14:20 (GMT)
commitf346d88d102c627e98f630ae1c9d26cc899f76d8 (patch)
tree1c5f85d1edb51594e61757a9e70098e274f144cb /Source/cmMakefile.h
parentb661403177edb1d22b89cc4a0ea69a8f93ad2ad2 (diff)
downloadCMake-f346d88d102c627e98f630ae1c9d26cc899f76d8.zip
CMake-f346d88d102c627e98f630ae1c9d26cc899f76d8.tar.gz
CMake-f346d88d102c627e98f630ae1c9d26cc899f76d8.tar.bz2
cmMakefile: Avoid invoking EnforceDirectoryLevelRules.
This is part of the CMP0000 implementation and only needs to be invoked for top-level buildsystem files currently.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index ebf33df..aa70c72 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -825,6 +825,8 @@ public:
std::string GetExecutionFilePath() const;
+ void EnforceDirectoryLevelRules() const;
+
protected:
// add link libraries and directories to the target
void AddGlobalLinkInformation(const std::string& name, cmTarget& target);
@@ -975,9 +977,6 @@ private:
cmPolicies::PolicyStatus
GetPolicyStatusInternal(cmPolicies::PolicyID id) const;
- // Enforce rules about CMakeLists.txt files.
- void EnforceDirectoryLevelRules() const;
-
// CMP0053 == old
cmake::MessageType ExpandVariablesInStringOld(
std::string& errorstr,