From fb6d449bdfac47f9fc8eca0b34be94f0d5aa32d6 Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Tue, 2 Apr 2019 16:11:44 +0200 Subject: [PATCH] set LAPACK_INCLUDE_DIRS and LAPACK_USER_INCLUDE_DIRS --- cmake/modules/FindLAPACK.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmake/modules/FindLAPACK.cmake b/cmake/modules/FindLAPACK.cmake index 0d79cc018e..4227e2c13f 100644 --- a/cmake/modules/FindLAPACK.cmake +++ b/cmake/modules/FindLAPACK.cmake @@ -90,6 +90,7 @@ FOREACH(_lib ${_fortran_libs}) ENDFOREACH() +SET(_lapack_include_dirs ${LAPACK_INCLUDE_DIRS}) SET(_lapack_libraries ${LAPACK_LIBRARIES}) SET(_lapack_linker_flags ${LAPACK_LINKER_FLAGS}) DEAL_II_PACKAGE_HANDLE(LAPACK @@ -97,6 +98,10 @@ DEAL_II_PACKAGE_HANDLE(LAPACK 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 CLEAR atlas_LIBRARY atlcblas_LIBRARY atllapack_LIBRARY blas_LIBRARY eigen_blas_LIBRARY f77blas_LIBRARY gslcblas_LIBRARY lapack_LIBRARY -- 2.39.5