Commit ef811cbd authored by Davis King's avatar Davis King

Actually, this really fixed the confusing cmake message about BLAS and LAPACK.

parent 06acdcac
...@@ -327,16 +327,16 @@ if (NOT blas_found) ...@@ -327,16 +327,16 @@ if (NOT blas_found)
set(blas_libraries ${BLAS_LIBRARIES}) set(blas_libraries ${BLAS_LIBRARIES})
set(blas_found 1) set(blas_found 1)
endif() endif()
endif() if (NOT lapack_found)
find_package(LAPACK QUIET)
if (blas_found AND NOT lapack_found) if (${LAPACK_FOUND})
find_package(LAPACK QUIET) set(lapack_libraries ${LAPACK_LIBRARIES})
if (${LAPACK_FOUND}) set(lapack_found 1)
set(lapack_libraries ${LAPACK_LIBRARIES}) endif()
set(lapack_found 1)
endif() endif()
endif() endif()
# If using lapack, determine whether to mangle functions # If using lapack, determine whether to mangle functions
if (lapack_found) if (lapack_found)
include(CheckFunctionExists) include(CheckFunctionExists)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment