From c118fd4c556ea5190355f2d64f5aef8dee235cdb Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 5 Oct 2009 11:09:15 -0400 Subject: Find locally installed software first This commit re-orders the search path prefix list from / /usr /usr/local to /usr/local / /usr so that locally-installed software is preferred. This makes the search consistent with the Filesystem Hierarchy Standard: http://www.pathname.com/fhs/ See issue #9657. --- Modules/Platform/UnixPaths.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Platform/UnixPaths.cmake b/Modules/Platform/UnixPaths.cmake index 584d334..7cab433 100644 --- a/Modules/Platform/UnixPaths.cmake +++ b/Modules/Platform/UnixPaths.cmake @@ -9,7 +9,7 @@ GET_FILENAME_COMPONENT(_CMAKE_INSTALL_DIR "${_CMAKE_INSTALL_DIR}" PATH) # search types. LIST(APPEND CMAKE_SYSTEM_PREFIX_PATH # Standard - / /usr /usr/local + /usr/local / /usr # CMake install location "${_CMAKE_INSTALL_DIR}" -- cgit v0.12