summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/UnixPaths.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-06-27 16:07:34 (GMT)
committerBrad King <brad.king@kitware.com>2007-06-27 16:07:34 (GMT)
commiteab81489f10049fc1e97f65779adbca160fccf16 (patch)
treeeb40ef1065176de3b83865b9d0f0d3d8b4701a1c /Modules/Platform/UnixPaths.cmake
parent6352bd5cd34be913415303f078cd02b32b1b4e41 (diff)
downloadCMake-eab81489f10049fc1e97f65779adbca160fccf16.zip
CMake-eab81489f10049fc1e97f65779adbca160fccf16.tar.gz
CMake-eab81489f10049fc1e97f65779adbca160fccf16.tar.bz2
ENH: Added global property FIND_LIBRARY_USE_LIB64_PATHS to allow lib64 paths to be searched optionally. Turn off the feature on debian systems. This addresses debian report 419007.
Diffstat (limited to 'Modules/Platform/UnixPaths.cmake')
-rw-r--r--Modules/Platform/UnixPaths.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/UnixPaths.cmake b/Modules/Platform/UnixPaths.cmake
index cc1a9cd..c081407 100644
--- a/Modules/Platform/UnixPaths.cmake
+++ b/Modules/Platform/UnixPaths.cmake
@@ -37,3 +37,5 @@ SET(CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES
/lib /usr/lib /usr/lib32 /usr/lib64
)
+# Enable use of lib64 search path variants by default.
+SET_PROPERTIES(GLOBAL PROPERTIES FIND_LIBRARY_USE_LIB64_PATHS TRUE)