]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
CMake: Export Mumps headers to User as well
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 10 Apr 2013 09:39:35 +0000 (09:39 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 10 Apr 2013 09:39:35 +0000 (09:39 +0000)
git-svn-id: https://svn.dealii.org/trunk@29237 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/configure/configure_mumps.cmake

index 6714e395c5a731fac66bc5bb08c273402366a324..3757724b5972060c5955716ce25255ebbc04e80d 100644 (file)
 
 SET(FEATURE_MUMPS_DEPENDS DEAL_II_WITH_MPI DEAL_II_WITH_LAPACK)
 
+MACRO(FEATURE_MUMPS_CONFIGURE_EXTERNAL)
+  INCLUDE_DIRECTORIES(${MUMPS_INCLUDE_DIRS})
+
+  # The user has to know the location of the MUMPS headers as well:
+  LIST(APPEND DEAL_II_USER_INCLUDE_DIRS ${MUMPS_INCLUDE_DIRS})
+
+  LIST(APPEND DEAL_II_EXTERNAL_LIBRARIES ${MUMPS_LIBRARIES})
+ENDMACRO()
+
 CONFIGURE_FEATURE(MUMPS)

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.