]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Bugfix: Also export suitesparse include directories in project config 567/head
authorMatthias Maier <tamiko@43-1.org>
Wed, 18 Feb 2015 19:31:36 +0000 (20:31 +0100)
committerMatthias Maier <tamiko@43-1.org>
Wed, 18 Feb 2015 19:34:20 +0000 (20:34 +0100)
With 053bb82 a direct include of "umfpack.h" was introduced in
"sparse_direct.h" which makes it necessary for the user to have the umfpack
include directory location available

Closes #564

cmake/modules/FindUMFPACK.cmake

index 88e439c14519df0efaa0b8c78401e365492509c1..bd26c93cdcbeebe86e0517a06b1db0f28efbd6e1 100644 (file)
@@ -1,6 +1,6 @@
 ## ---------------------------------------------------------------------
 ##
-## Copyright (C) 2012 - 2014 by the deal.II authors
+## Copyright (C) 2012 - 2015 by the deal.II authors
 ##
 ## This file is part of the deal.II library.
 ##
@@ -154,6 +154,9 @@ DEAL_II_PACKAGE_HANDLE(UMFPACK
   INCLUDE_DIRS
     REQUIRED UMFPACK_INCLUDE_DIR AMD_INCLUDE_DIR
     OPTIONAL SuiteSparse_config_INCLUDE_DIR
+  USER_INCLUDE_DIRS
+    REQUIRED UMFPACK_INCLUDE_DIR AMD_INCLUDE_DIR
+    OPTIONAL SuiteSparse_config_INCLUDE_DIR
   LINKER_FLAGS
     OPTIONAL LAPACK_LINKER_FLAGS
   CLEAR

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.