summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-05-18 15:36:23 (GMT)
committerBrad King <brad.king@kitware.com>2007-05-18 15:36:23 (GMT)
commit92c0f41251a26bb90577e582337cc438af4d6a74 (patch)
tree08d5a1964371e56e66241f1bd368dedae95a10ed /Modules
parent15a7414a60bc31cd75c5e5af2618c3d4ffc64944 (diff)
downloadCMake-92c0f41251a26bb90577e582337cc438af4d6a74.zip
CMake-92c0f41251a26bb90577e582337cc438af4d6a74.tar.gz
CMake-92c0f41251a26bb90577e582337cc438af4d6a74.tar.bz2
ENH: Use CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES from platform files to block link directories.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/UnixPaths.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/Platform/UnixPaths.cmake b/Modules/Platform/UnixPaths.cmake
index d710efc..cc1a9cd 100644
--- a/Modules/Platform/UnixPaths.cmake
+++ b/Modules/Platform/UnixPaths.cmake
@@ -31,3 +31,9 @@ SET(CMAKE_SYSTEM_LIBRARY_PATH ${CMAKE_SYSTEM_LIBRARY_PATH}
SET(CMAKE_SYSTEM_PROGRAM_PATH ${CMAKE_SYSTEM_PROGRAM_PATH}
/bin /usr/bin /usr/local/bin /usr/pkg/bin /sbin
)
+
+SET(CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES
+ ${CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES}
+ /lib /usr/lib /usr/lib32 /usr/lib64
+ )
+