From: Matthias Maier Date: Wed, 2 Feb 2022 10:58:04 +0000 (-0600) Subject: CMake: Clean up FindLAPACK.cmake X-Git-Tag: v9.4.0-rc1~521^2~7 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30d1b3f10312de5057e4e6d02987c2ee0c96a51f;p=dealii.git CMake: Clean up FindLAPACK.cmake --- diff --git a/cmake/modules/FindLAPACK.cmake b/cmake/modules/FindLAPACK.cmake index ccd99bc55d..c6150731da 100644 --- a/cmake/modules/FindLAPACK.cmake +++ b/cmake/modules/FindLAPACK.cmake @@ -101,18 +101,13 @@ IF(NOT BUILD_SHARED_LIBS) ENDIF() -SET(_lapack_include_dirs ${LAPACK_INCLUDE_DIRS}) -SET(_lapack_libraries ${LAPACK_LIBRARIES}) -SET(_lapack_linker_flags ${LAPACK_LINKER_FLAGS}) DEAL_II_PACKAGE_HANDLE(LAPACK LIBRARIES - REQUIRED _lapack_libraries + REQUIRED LAPACK_LIBRARIES OPTIONAL BLAS_LIBRARIES ${_additional_libraries} - LINKER_FLAGS OPTIONAL _lapack_linker_flags BLAS_LINKER_FLAGS - INCLUDE_DIRS - OPTIONAL _lapack_include_dirs - USER_INCLUDE_DIRS - OPTIONAL _lapack_include_dirs + LINKER_FLAGS OPTIONAL LAPACK_LINKER_FLAGS BLAS_LINKER_FLAGS + INCLUDE_DIRS OPTIONAL LAPACK_INCLUDE_DIRS + USER_INCLUDE_DIRS OPTIONAL LAPACK_INCLUDE_DIRS CLEAR atlas_LIBRARY atlcblas_LIBRARY atllapack_LIBRARY blas_LIBRARY eigen_blas_LIBRARY f77blas_LIBRARY gslcblas_LIBRARY lapack_LIBRARY