diff options
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 8 |
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 |