[Cmake-commits] [cmake-commits] martink committed cmListFileCache.cxx 1.33 1.34
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Mar 6 16:03:51 EST 2008
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv4589/Source
Modified Files:
cmListFileCache.cxx
Log Message:
BUG: keep CMAKE_BACKWARDS_COMP as internal
Index: cmListFileCache.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmListFileCache.cxx,v
retrieving revision 1.33
retrieving revision 1.34
diff -C 2 -d -r1.33 -r1.34
*** cmListFileCache.cxx 6 Mar 2008 20:51:51 -0000 1.33
--- cmListFileCache.cxx 6 Mar 2008 21:03:48 -0000 1.34
***************
*** 165,168 ****
--- 165,181 ----
}
}
+ else
+ {
+ // add in the old CMAKE_BACKWARDS_COMPATIBILITY var for old CMake compatibility
+ if (!mf->GetCacheManager()->
+ GetCacheValue("CMAKE_BACKWARDS_COMPATIBILITY"))
+ {
+ mf->AddCacheDefinition
+ ("CMAKE_BACKWARDS_COMPATIBILITY", "2.5",
+ "For backwards compatibility, what version of CMake commands and "
+ "syntax should this version of CMake try to support.",
+ cmCacheManager::INTERNAL);
+ }
+ }
}
More information about the Cmake-commits
mailing list