Skip to content
Snippets Groups Projects
Commit 1a87f667 authored by Dominic Kempf's avatar Dominic Kempf Committed by Christoph Grüninger
Browse files

[CMake] Also append the LAPACK libs to ALL_PKG_LIBS

We dont provide a custom find module, so we need to update
the property after executing the system wide find module.
parent 2df46e46
Branches
Tags
No related merge requests found
......@@ -12,6 +12,9 @@ if(Fortran_Works)
# search for lapack
find_package(LAPACK)
set(HAVE_LAPACK ${LAPACK_FOUND})
if(${HAVE_LAPACK})
set_property(GLOBAL APPEND PROPERTY ALL_PKG_LIBS "${LAPACK_LIBRARIES}")
endif(${HAVE_LAPACK})
set(HAVE_BLAS ${BLAS_FOUND})
else(Fortran_Works)
set(HAVE_LAPACK Off)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment