Browse Source

find ACML fixes

Alexey Ozeritsky 15 years ago
parent
commit
1279bd7bac
1 changed files with 11 additions and 1 deletions
  1. 11 1
      Modules/FindLAPACK.cmake

+ 11 - 1
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?