From: Matthias Maier Date: Wed, 10 Apr 2013 09:39:35 +0000 (+0000) Subject: CMake: Export Mumps headers to User as well X-Git-Tag: v8.0.0~741 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7f57b432ff72f2f424eafc7881d3b23b5de1fea;p=dealii.git CMake: Export Mumps headers to User as well git-svn-id: https://svn.dealii.org/trunk@29237 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/cmake/configure/configure_mumps.cmake b/deal.II/cmake/configure/configure_mumps.cmake index 6714e395c5..3757724b59 100644 --- a/deal.II/cmake/configure/configure_mumps.cmake +++ b/deal.II/cmake/configure/configure_mumps.cmake @@ -18,4 +18,13 @@ 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)