summaryrefslogtreecommitdiffstats
path: root/Modules/FindLAPACK.cmake
diff options
context:
space:
mode:
authorAlexey Ozeritsky <aozeritsky@gmail.com>2010-12-27 08:14:13 (GMT)
committerAlexey Ozeritsky <aozeritsky@gmail.com>2010-12-27 08:14:13 (GMT)
commit1279bd7bac7c9970ae1ea76744d05299232e4b04 (patch)
tree90558bfcd913c3beff093425d65aacb34b8ac7d8 /Modules/FindLAPACK.cmake
parentcabafa37fbd4a8b02e90667476d7568caddff178 (diff)
downloadCMake-1279bd7bac7c9970ae1ea76744d05299232e4b04.zip
CMake-1279bd7bac7c9970ae1ea76744d05299232e4b04.tar.gz
CMake-1279bd7bac7c9970ae1ea76744d05299232e4b04.tar.bz2
find ACML fixes
Diffstat (limited to 'Modules/FindLAPACK.cmake')
-rw-r--r--Modules/FindLAPACK.cmake12
1 files changed, 11 insertions, 1 deletions
diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake
index 40effb0..f7b7ab5 100644
--- a/Modules/FindLAPACK.cmake
+++ b/Modules/FindLAPACK.cmake
@@ -157,11 +157,21 @@ if(BLAS_FOUND)
LAPACK
cheev
""
- "acml"
+ "acml;acml_mv"
""
""
)
endif(NOT LAPACK_LIBRARIES)
+ if(NOT LAPACK_LIBRARIES)
+ check_lapack_libraries(
+ LAPACK_LIBRARIES
+ LAPACK
+ cheev
+ ""
+ "acml_mp;acml_mv"
+ ""
+ )
+ endif(NOT LAPACK_LIBRARIES)
endif (BLA_VENDOR STREQUAL "ACML" OR BLA_VENDOR STREQUAL "All")
# Apple LAPACK library?