[cmake-commits] martink committed cmIfCommand.cxx 1.73 1.74

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Nov 16 15:31:36 EST 2006


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv26891

Modified Files:
	cmIfCommand.cxx 
Log Message:
ENH: remove old hack now that project level compatibility files are supported


Index: cmIfCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmIfCommand.cxx,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- cmIfCommand.cxx	25 Oct 2006 14:57:26 -0000	1.73
+++ cmIfCommand.cxx	16 Nov 2006 20:31:34 -0000	1.74
@@ -217,23 +217,6 @@
     return false;
     }
 
-  // this is a super ugly hack. Basically old versiosn of VTK and ITK have a
-  // bad test to check for more recent versions of CMake in the
-  // CMakeLists.txt file for libtiff. So when we reved CMake up to 2.0 the
-  // test started failing because the minor version went to zero this causes
-  // the test to pass
-  if (args.size() == 3 &&
-    (makefile->GetDefinition("VTKTIFF_SOURCE_DIR") ||
-     makefile->GetDefinition("ITKTIFF_SOURCE_DIR")) &&
-    args[0] == "CMAKE_MINOR_VERSION" &&
-    args[1] == "MATCHES")
-    {
-    delete [] *errorString;
-    *errorString = 0;
-    return true;
-    }
-
-
   // store the reduced args in this vector
   std::list<std::string> newArgs;
   int reducible;



More information about the Cmake-commits mailing list