From cff1ccdc4eb82d20c349bfba31555ebedd67f29f Mon Sep 17 00:00:00 2001 From: maier Date: Wed, 10 Apr 2013 09:39:35 +0000 Subject: [PATCH] CMake: Export Mumps headers to User as well git-svn-id: https://svn.dealii.org/trunk@29237 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/configure/configure_mumps.cmake | 9 +++++++++ 1 file changed, 9 insertions(+) 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) -- 2.39.5