summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2008-03-04 19:51:25 (GMT)
committerKen Martin <ken.martin@kitware.com>2008-03-04 19:51:25 (GMT)
commitcd4d2acbe654ca57a9ffc7ca34dcf4835bfc77c3 (patch)
treeae821b4f8be77edad7ecb3a009d01d5f2f7bcda5 /Source/cmake.cxx
parent96ee85d1972ee54745637037a2d4dc1b1e7b885d (diff)
downloadCMake-cd4d2acbe654ca57a9ffc7ca34dcf4835bfc77c3.zip
CMake-cd4d2acbe654ca57a9ffc7ca34dcf4835bfc77c3.tar.gz
CMake-cd4d2acbe654ca57a9ffc7ca34dcf4835bfc77c3.tar.bz2
ENH: more policy changes
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx26
1 files changed, 0 insertions, 26 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 9950d20..31693d2 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -1899,19 +1899,6 @@ int cmake::ActualConfigure()
cmCacheManager::INTERNAL);
}
- // set the default BACKWARDS compatibility to the current version
- if(!this->CacheManager->GetCacheValue("CMAKE_BACKWARDS_COMPATIBILITY"))
- {
- char ver[256];
- sprintf(ver,"%i.%i",cmVersion::GetMajorVersion(),
- cmVersion::GetMinorVersion());
- this->CacheManager->AddCacheEntry
- ("CMAKE_BACKWARDS_COMPATIBILITY",ver,
- "For backwards compatibility, what version of CMake commands and "
- "syntax should this version of CMake allow.",
- cmCacheManager::STRING);
- }
-
// no generator specified on the command line
if(!this->GlobalGenerator)
{
@@ -2393,19 +2380,6 @@ int cmake::LoadCache()
return -3;
}
- // set the default BACKWARDS compatibility to the current version
- if(!this->CacheManager->GetCacheValue("CMAKE_BACKWARDS_COMPATIBILITY"))
- {
- char ver[256];
- sprintf(ver,"%i.%i",cmVersion::GetMajorVersion(),
- cmVersion::GetMinorVersion());
- this->CacheManager->AddCacheEntry
- ("CMAKE_BACKWARDS_COMPATIBILITY",ver,
- "For backwards compatibility, what version of CMake commands and "
- "syntax should this version of CMake allow.",
- cmCacheManager::STRING);
- }
-
return 0;
}