diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-06-20 17:56:38 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-06-20 17:56:38 (GMT) |
commit | adbae91cb5a5cb4cd33df273dd977791406ec339 (patch) | |
tree | 6bf114389890b3be2ba49e3c189bb67d5b5f8d6e /Source/cmake.cxx | |
parent | 7715b382fe71932aa36333659b7a2311008d0f06 (diff) | |
download | CMake-adbae91cb5a5cb4cd33df273dd977791406ec339.zip CMake-adbae91cb5a5cb4cd33df273dd977791406ec339.tar.gz CMake-adbae91cb5a5cb4cd33df273dd977791406ec339.tar.bz2 |
ENH: fix cmake so it can boot strap itself better
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index f54e556..7e2a14b 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -164,7 +164,7 @@ void cmake::AddCMakePaths(const std::vector<std::string>& args) modules = cMakeRoot + "/share/CMake/Modules"; if (!cmSystemTools::FileIsDirectory(modules.c_str())) { -#if !defined(_WIN32) || defined(__CYGWIN__) +#ifdef CMAKE_ROOT_DIR // try compiled in value on UNIX cMakeRoot = CMAKE_ROOT_DIR; modules = cMakeRoot + "/Modules"; |