summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-01-15 19:37:14 (GMT)
committerBrad King <brad.king@kitware.com>2009-01-15 19:37:14 (GMT)
commitd602a3db8581271ca130ac8fa10f8b4c1cc1dac3 (patch)
treebbda23831e8d454f3df42f57fdab77f2fa51ba82 /Source/cmMakefile.h
parent40366f6ced5619ab86f97dba9eb66dbfb2d08149 (diff)
downloadCMake-d602a3db8581271ca130ac8fa10f8b4c1cc1dac3.zip
CMake-d602a3db8581271ca130ac8fa10f8b4c1cc1dac3.tar.gz
CMake-d602a3db8581271ca130ac8fa10f8b4c1cc1dac3.tar.bz2
BUG: Enforce matching policy PUSH/POP in all files
The documentation of cmake_policy PUSH and POP states that they must always match. Previously we enforced this only for the top scope of each CMakeLists.txt file. This enforces the requirement for all files.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index c77fcdb..77843e8 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -918,7 +918,7 @@ private:
bool CheckCMP0000;
// Enforce rules about CMakeLists.txt files.
- void EnforceDirectoryLevelRules(bool endScopeNicely);
+ void EnforceDirectoryLevelRules();
};