summaryrefslogtreecommitdiff
path: root/Modules/FindBLAS.cmake
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-08-13 13:26:57 -0400
committerCMake Topic Stage <kwrobot@kitware.com>2012-08-13 13:26:57 -0400
commit85f843a7b4aaf1b25e1e1e60ecdae3a3e2d7a9cb (patch)
treef25dae6a02680f4659322e65a54e5b421d900aea /Modules/FindBLAS.cmake
parente93d9c5c2b8095cf94ebb92763604db0108e0818 (diff)
parentaf80da349bb259ccccac146cdd734afeedeec116 (diff)
downloadcmake-85f843a7b4aaf1b25e1e1e60ecdae3a3e2d7a9cb.tar.gz
Merge topic 'mixed-lib-to-lib64'
af80da3 remove lib64 Unix paths if the respective lib path is also given 733726e find_library: Fix mixed lib->lib64 (non-)conversion cases (#13419) 54add62 find_library: Simplify lib->lib<arch> expansion 6ca2f82 find_library: Refactor lib->lib64 conversion 1fe4b82 find_library: Add test covering lib->lib64 cases
Diffstat (limited to 'Modules/FindBLAS.cmake')
-rw-r--r--Modules/FindBLAS.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake
index 1cf31c4a67..84bc7bb349 100644
--- a/Modules/FindBLAS.cmake
+++ b/Modules/FindBLAS.cmake
@@ -81,9 +81,9 @@ if (NOT _libdir)
if (WIN32)
set(_libdir ENV LIB)
elseif (APPLE)
- set(_libdir /usr/local/lib /usr/lib /usr/local/lib64 /usr/lib64 ENV DYLD_LIBRARY_PATH)
+ set(_libdir ENV DYLD_LIBRARY_PATH)
else ()
- set(_libdir /usr/local/lib /usr/lib /usr/local/lib64 /usr/lib64 ENV LD_LIBRARY_PATH)
+ set(_libdir ENV LD_LIBRARY_PATH)
endif ()
endif ()