From: Daniel Arndt Date: Thu, 21 Mar 2019 19:35:02 +0000 (+0100) Subject: Also link with LAPACK libraries X-Git-Tag: v9.1.0-rc1~264^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7853%2Fhead;p=dealii.git Also link with LAPACK libraries --- diff --git a/cmake/configure/configure_scalapack.cmake b/cmake/configure/configure_scalapack.cmake index a91457f379..08820ceecb 100644 --- a/cmake/configure/configure_scalapack.cmake +++ b/cmake/configure/configure_scalapack.cmake @@ -28,7 +28,7 @@ MACRO(FEATURE_SCALAPACK_FIND_EXTERNAL var) CHECK_MPI_INTERFACE(SCALAPACK ${var}) IF (${var}) - SET(CMAKE_REQUIRED_LIBRARIES ${SCALAPACK_LIBRARIES}) + SET(CMAKE_REQUIRED_LIBRARIES ${SCALAPACK_LIBRARIES} ${LAPACK_LIBRARIES}) CHECK_C_SOURCE_COMPILES(" void pdsyevr_(); void pssyevr_();