]> https://gitweb.dealii.org/ - dealii.git/commitdiff
set LAPACK_INCLUDE_DIRS and LAPACK_USER_INCLUDE_DIRS 7884/head
authorDenis Davydov <davydden@gmail.com>
Tue, 2 Apr 2019 14:11:44 +0000 (16:11 +0200)
committerDenis Davydov <davydden@gmail.com>
Tue, 2 Apr 2019 14:20:14 +0000 (16:20 +0200)
cmake/modules/FindLAPACK.cmake

index 0d79cc018e20d16b9fc8c94bf3181dfd69b4645a..4227e2c13f098774dc695843922023c794845fb8 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.