diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-10-09 19:52:29 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-10-09 19:52:29 (GMT) |
commit | 96e8cd82c7e5232d85cf94e1f1ce04ed48c96801 (patch) | |
tree | 77b818f6ccb9e92c37628f2ab4803000035f114f /Modules | |
parent | 1e62f2392ced335cc5ae34b6ea6ed869a3f899ae (diff) | |
download | CMake-96e8cd82c7e5232d85cf94e1f1ce04ed48c96801.zip CMake-96e8cd82c7e5232d85cf94e1f1ce04ed48c96801.tar.gz CMake-96e8cd82c7e5232d85cf94e1f1ce04ed48c96801.tar.bz2 |
ENH: put the system path after the paths specified on to the FIND command
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeDetermineCCompiler.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CMakeDetermineCCompiler.cmake b/Modules/CMakeDetermineCCompiler.cmake index 230c132..9c61efe 100644 --- a/Modules/CMakeDetermineCCompiler.cmake +++ b/Modules/CMakeDetermineCCompiler.cmake @@ -38,9 +38,9 @@ IF(NOT CMAKE_C_COMPILER) ENDIF(NOT CMAKE_C_COMPILER) MARK_AS_ADVANCED(CMAKE_C_COMPILER) -FIND_PROGRAM(CMAKE_AR NAMES ar PATHS /bin /usr/bin /usr/local/bin) +FIND_PROGRAM(CMAKE_AR NAMES ar ) -FIND_PROGRAM(CMAKE_RANLIB NAMES ranlib PATHS /bin /usr/bin /usr/local/bin) +FIND_PROGRAM(CMAKE_RANLIB NAMES ranlib) IF(NOT CMAKE_RANLIB) SET(CMAKE_RANLIB : CACHE INTERNAL "noop for ranlib") ENDIF(NOT CMAKE_RANLIB) |