summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authormax argus <argus.max@gmail.com>2017-03-22 23:15:34 +0000
committermax argus <argus.max@gmail.com>2017-03-22 23:32:50 +0000
commit5c8e3545c650e9d3924f707334bde7cd67cf4e07 (patch)
tree0d7f0433588f18bfcc3a026ca00e9c4fa2c08753 /cmake
parent317d162acbe420c4b2d1faa77b5c18a3841c444c (diff)
downloadcaffe-5c8e3545c650e9d3924f707334bde7cd67cf4e07.tar.gz
caffe-5c8e3545c650e9d3924f707334bde7cd67cf4e07.tar.bz2
caffe-5c8e3545c650e9d3924f707334bde7cd67cf4e07.zip
[caffe][build] added Atlas lapack Library name atllapack
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/FindAtlas.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Modules/FindAtlas.cmake b/cmake/Modules/FindAtlas.cmake
index 9c665a47..7ffa6393 100644
--- a/cmake/Modules/FindAtlas.cmake
+++ b/cmake/Modules/FindAtlas.cmake
@@ -28,7 +28,7 @@ find_path(Atlas_CLAPACK_INCLUDE_DIR NAMES clapack.h PATHS ${Atlas_INCLUDE_SEARCH
find_library(Atlas_CBLAS_LIBRARY NAMES ptcblas_r ptcblas cblas_r cblas PATHS ${Atlas_LIB_SEARCH_PATHS})
find_library(Atlas_BLAS_LIBRARY NAMES atlas_r atlas PATHS ${Atlas_LIB_SEARCH_PATHS})
-find_library(Atlas_LAPACK_LIBRARY NAMES lapack alapack_r alapack lapack_atlas PATHS ${Atlas_LIB_SEARCH_PATHS})
+find_library(Atlas_LAPACK_LIBRARY NAMES lapack alapack_r alapack lapack_atlas atllapack PATHS ${Atlas_LIB_SEARCH_PATHS})
set(LOOKED_FOR
Atlas_CBLAS_INCLUDE_DIR
@@ -47,6 +47,6 @@ if(ATLAS_FOUND)
set(Atlas_LIBRARIES ${Atlas_LAPACK_LIBRARY} ${Atlas_CBLAS_LIBRARY} ${Atlas_BLAS_LIBRARY})
mark_as_advanced(${LOOKED_FOR})
- message(STATUS "Found Atlas (include: ${Atlas_CBLAS_INCLUDE_DIR}, library: ${Atlas_BLAS_LIBRARY})")
+ message(STATUS "Found Atlas (include: ${Atlas_CBLAS_INCLUDE_DIR} library: ${Atlas_BLAS_LIBRARY} lapack: ${Atlas_LAPACK_LIBRARY}")
endif(ATLAS_FOUND)