summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-02-18 18:03:40 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-02-18 18:03:40 (GMT)
commit0dd276a311aa86810d6f22da2bf694cf7cb35ffb (patch)
tree80ff7e8ee3ba5e2b89622cbbdb36796b1c7bb3c0 /Source/cmake.cxx
parent068d0d9b91a1f29d06510f91f194a53bc52fcd1a (diff)
downloadCMake-0dd276a311aa86810d6f22da2bf694cf7cb35ffb.zip
CMake-0dd276a311aa86810d6f22da2bf694cf7cb35ffb.tar.gz
CMake-0dd276a311aa86810d6f22da2bf694cf7cb35ffb.tar.bz2
ENH: remove CMAKE_PREFIX so changing it does not rebuild all
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 84f4217..af13d3a 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -842,14 +842,6 @@ int cmake::AddCMakePaths()
modules = cMakeRoot + "/Modules/CMake.cmake";
}
#endif
-#ifdef CMAKE_PREFIX
- if (!cmSystemTools::FileExists(modules.c_str()))
- {
- // try compiled in install prefix
- cMakeRoot = CMAKE_PREFIX CMAKE_DATA_DIR;
- modules = cMakeRoot + "/Modules/CMake.cmake";
- }
-#endif
if (!cmSystemTools::FileExists(modules.c_str()))
{
// try