summaryrefslogtreecommitdiff
path: root/Modules/CMakeDetermineCCompiler.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-10-09 15:52:29 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2003-10-09 15:52:29 -0400
commit96e8cd82c7e5232d85cf94e1f1ce04ed48c96801 (patch)
tree77b818f6ccb9e92c37628f2ab4803000035f114f /Modules/CMakeDetermineCCompiler.cmake
parent1e62f2392ced335cc5ae34b6ea6ed869a3f899ae (diff)
downloadcmake-96e8cd82c7e5232d85cf94e1f1ce04ed48c96801.tar.gz
ENH: put the system path after the paths specified on to the FIND command
Diffstat (limited to 'Modules/CMakeDetermineCCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineCCompiler.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CMakeDetermineCCompiler.cmake b/Modules/CMakeDetermineCCompiler.cmake
index 230c132135..9c61efe9a8 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)