summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileCache.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2008-03-06 20:08:03 (GMT)
committerKen Martin <ken.martin@kitware.com>2008-03-06 20:08:03 (GMT)
commit5588ed47fce7071b568914ceb0c4cfedb35195b7 (patch)
treebf95919b26014eacf1560d9d7116ff36fbcf9eec /Source/cmListFileCache.cxx
parent385377cf1cca1d3cd9b1d3e318f43f0becf531cc (diff)
downloadCMake-5588ed47fce7071b568914ceb0c4cfedb35195b7.zip
CMake-5588ed47fce7071b568914ceb0c4cfedb35195b7.tar.gz
CMake-5588ed47fce7071b568914ceb0c4cfedb35195b7.tar.bz2
BUG: change in handling of cmake_minimum_required
Diffstat (limited to 'Source/cmListFileCache.cxx')
-rw-r--r--Source/cmListFileCache.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/Source/cmListFileCache.cxx b/Source/cmListFileCache.cxx
index 24ca7a4..d76df60 100644
--- a/Source/cmListFileCache.cxx
+++ b/Source/cmListFileCache.cxx
@@ -134,11 +134,6 @@ bool cmListFile::ParseFile(const char* filename,
hasPolicy = true;
break;
}
- if (cmSystemTools::LowerCase(i->Name) == "cmake_minimum_required")
- {
- hasPolicy = true;
- break;
- }
}
// if no policy command is found this is an error
if(!hasPolicy)
@@ -148,7 +143,7 @@ bool cmListFile::ParseFile(const char* filename,
GetCacheValue("CMAKE_BACKWARDS_COMPATIBILITY"))
{
mf->AddCacheDefinition
- ("CMAKE_BACKWARDS_COMPATIBILITY", "2.6",
+ ("CMAKE_BACKWARDS_COMPATIBILITY", "2.4",
"For backwards compatibility, what version of CMake commands and "
"syntax should this version of CMake try to support.",
cmCacheManager::STRING);