diff options
author | Mario Emmenlauer <mario@emmenlauer.de> | 2020-01-21 22:54:15 +0100 |
---|---|---|
committer | Mario Emmenlauer <mario@emmenlauer.de> | 2020-01-21 22:54:15 +0100 |
commit | 972c2cc7cab31a998f25c295454b7567f34e640d (patch) | |
tree | 2330b719a69769491371a6b4e3efa42091baa970 /Modules/FindLAPACK.cmake | |
parent | 7346a3226f1498fa82dca0fcc007cff483bd8a66 (diff) | |
download | cmake-972c2cc7cab31a998f25c295454b7567f34e640d.tar.gz |
FindLAPACK: Fixed order of arguments for internal helper macro
Diffstat (limited to 'Modules/FindLAPACK.cmake')
-rw-r--r-- | Modules/FindLAPACK.cmake | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake index 11d87e40dd..32541019ec 100644 --- a/Modules/FindLAPACK.cmake +++ b/Modules/FindLAPACK.cmake @@ -99,7 +99,7 @@ set(LAPACK95_FOUND FALSE) # TODO: move this stuff to separate module -macro(CHECK_LAPACK_LIBRARIES LIBRARIES _prefix _name _flags _list _blas _threadlibs) +macro(CHECK_LAPACK_LIBRARIES LIBRARIES _prefix _name _flags _list _threadlibs _blas) # This macro checks for the existence of the combination of fortran libraries # given by _list. If the combination is found, this macro checks (using the # Check_Fortran_Function_Exists macro) whether can link against that library @@ -261,8 +261,8 @@ if (BLA_VENDOR MATCHES "Intel" OR BLA_VENDOR STREQUAL "All") ${LAPACK_mkl_SEARCH_SYMBOL} "" "" - "${_BLAS_LIBRARIES}" "" + "${_BLAS_LIBRARIES}" ) endif () # Then try the search libs @@ -274,8 +274,8 @@ if (BLA_VENDOR MATCHES "Intel" OR BLA_VENDOR STREQUAL "All") ${LAPACK_mkl_SEARCH_SYMBOL} "" "${IT}" - "${_BLAS_LIBRARIES}" "${CMAKE_THREAD_LIBS_INIT};${LAPACK_mkl_LM};${LAPACK_mkl_LDL}" + "${_BLAS_LIBRARIES}" ) endif () endforeach () @@ -296,8 +296,8 @@ if (BLA_VENDOR STREQUAL "Goto" OR BLA_VENDOR STREQUAL "All") cheev "" "goto2" - "${BLAS_LIBRARIES}" "" + "${BLAS_LIBRARIES}" ) endif() endif () @@ -310,8 +310,8 @@ if (BLA_VENDOR STREQUAL "OpenBLAS" OR BLA_VENDOR STREQUAL "All") cheev "" "openblas" - "${BLAS_LIBRARIES}" "" + "${BLAS_LIBRARIES}" ) endif() endif () @@ -324,8 +324,8 @@ if (BLA_VENDOR STREQUAL "FLAME" OR BLA_VENDOR STREQUAL "All") cheev "" "flame" - "${BLAS_LIBRARIES}" "" + "${BLAS_LIBRARIES}" ) endif() endif () @@ -346,8 +346,8 @@ if (BLA_VENDOR STREQUAL "Apple" OR BLA_VENDOR STREQUAL "All") cheev "" "Accelerate" - "${BLAS_LIBRARIES}" "" + "${BLAS_LIBRARIES}" ) endif() endif () @@ -359,8 +359,8 @@ if (BLA_VENDOR STREQUAL "NAS" OR BLA_VENDOR STREQUAL "All") cheev "" "vecLib" - "${BLAS_LIBRARIES}" "" + "${BLAS_LIBRARIES}" ) endif () endif () @@ -375,8 +375,8 @@ if (BLA_VENDOR STREQUAL "Generic" OR cheev "" "lapack" - "${BLAS_LIBRARIES}" "" + "${BLAS_LIBRARIES}" ) endif () endif () |