diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-11-16 20:31:34 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-11-16 20:31:34 (GMT) |
commit | d92f22023cc83e58c056271b6177279ce0d0f847 (patch) | |
tree | 5741f2261fcc2c38efde545ef6f3d0938d13eb73 /Source/cmIfCommand.cxx | |
parent | 97b1963fd7540adb173466a346dc936ac810239b (diff) | |
download | CMake-d92f22023cc83e58c056271b6177279ce0d0f847.zip CMake-d92f22023cc83e58c056271b6177279ce0d0f847.tar.gz CMake-d92f22023cc83e58c056271b6177279ce0d0f847.tar.bz2 |
ENH: remove old hack now that project level compatibility files are supported
Diffstat (limited to 'Source/cmIfCommand.cxx')
-rw-r--r-- | Source/cmIfCommand.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx index 2c69d83..2e21da1 100644 --- a/Source/cmIfCommand.cxx +++ b/Source/cmIfCommand.cxx @@ -217,23 +217,6 @@ bool cmIfCommand::IsTrue(const std::vector<std::string> &args, 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; |