diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-02-18 18:03:40 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-02-18 18:03:40 (GMT) |
commit | 0dd276a311aa86810d6f22da2bf694cf7cb35ffb (patch) | |
tree | 80ff7e8ee3ba5e2b89622cbbdb36796b1c7bb3c0 | |
parent | 068d0d9b91a1f29d06510f91f194a53bc52fcd1a (diff) | |
download | CMake-0dd276a311aa86810d6f22da2bf694cf7cb35ffb.zip CMake-0dd276a311aa86810d6f22da2bf694cf7cb35ffb.tar.gz CMake-0dd276a311aa86810d6f22da2bf694cf7cb35ffb.tar.bz2 |
ENH: remove CMAKE_PREFIX so changing it does not rebuild all
-rw-r--r-- | Source/cmConfigure.cmake.h.in | 1 | ||||
-rw-r--r-- | Source/cmake.cxx | 8 |
2 files changed, 0 insertions, 9 deletions
diff --git a/Source/cmConfigure.cmake.h.in b/Source/cmConfigure.cmake.h.in index 0824cdd..dd03627 100644 --- a/Source/cmConfigure.cmake.h.in +++ b/Source/cmConfigure.cmake.h.in @@ -23,7 +23,6 @@ #cmakedefine CMAKE_STRICT #define CMAKE_ROOT_DIR "${CMake_SOURCE_DIR}" #define CMAKE_BUILD_DIR "${CMake_BINARY_DIR}" -#define CMAKE_PREFIX "${CMAKE_INSTALL_PREFIX}" #define CMake_VERSION_MAJOR @CMake_VERSION_MAJOR@ #define CMake_VERSION_MINOR @CMake_VERSION_MINOR@ 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 |