diff options
Diffstat (limited to 'Source')
-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 |