]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Clean up FindLAPACK.cmake
authorMatthias Maier <tamiko@43-1.org>
Wed, 2 Feb 2022 10:58:04 +0000 (04:58 -0600)
committerMatthias Maier <tamiko@43-1.org>
Sat, 5 Feb 2022 20:59:37 +0000 (14:59 -0600)
cmake/modules/FindLAPACK.cmake

index ccd99bc55d4cac43f9c93c1ad06bb2d9d6536d07..c6150731da539bc314507a5852042647932120a3 100644 (file)
@@ -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

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.