From 1279bd7bac7c9970ae1ea76744d05299232e4b04 Mon Sep 17 00:00:00 2001 From: Alexey Ozeritsky Date: Mon, 27 Dec 2010 11:14:13 +0300 Subject: find ACML fixes --- Modules/FindLAPACK.cmake | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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? -- cgit v0.12