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)
set(blas_libraries ${BLAS_LIBRARIES})
set(blas_found 1)
endif()
endif()
if (blas_found AND NOT lapack_found)
find_package(LAPACK QUIET)
if (${LAPACK_FOUND})
set(lapack_libraries ${LAPACK_LIBRARIES})
set(lapack_found 1)
if (NOT lapack_found)
find_package(LAPACK QUIET)
if (${LAPACK_FOUND})
set(lapack_libraries ${LAPACK_LIBRARIES})
set(lapack_found 1)
endif()
endif()
endif()
# If using lapack, determine whether to mangle functions
if (lapack_found)
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