From 299fe5f2a2fd076c676c35d555f3a76cdb545edd Mon Sep 17 00:00:00 2001 From: maier Date: Tue, 5 Mar 2013 18:00:45 +0000 Subject: [PATCH] Bugfix git-svn-id: https://svn.dealii.org/branches/branch_cmake@28739 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/configure/configure_p4est.cmake | 9 +++++++++ deal.II/cmake/configure/configure_slepc.cmake | 1 - 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/deal.II/cmake/configure/configure_p4est.cmake b/deal.II/cmake/configure/configure_p4est.cmake index eb715a15c0..1aa68c1cf7 100644 --- a/deal.II/cmake/configure/configure_p4est.cmake +++ b/deal.II/cmake/configure/configure_p4est.cmake @@ -44,4 +44,13 @@ MACRO(FEATURE_P4EST_FIND_EXTERNAL var) ENDIF() ENDMACRO() +MACRO(FEATURE_P4EST_CONFIGURE_EXTERNAL) + INCLUDE_DIRECTORIES(${P4EST_INCLUDE_DIRS}) + + # The user has to know the location of the P4EST headers as well: + LIST(APPEND DEAL_II_USER_INCLUDE_DIRS ${P4EST_INCLUDE_DIRS}) + + LIST(APPEND DEAL_II_EXTERNAL_LIBRARIES ${P4EST_LIBRARIES}) +ENDMACRO() + CONFIGURE_FEATURE(P4EST) diff --git a/deal.II/cmake/configure/configure_slepc.cmake b/deal.II/cmake/configure/configure_slepc.cmake index e494b35af3..40ae1b897a 100644 --- a/deal.II/cmake/configure/configure_slepc.cmake +++ b/deal.II/cmake/configure/configure_slepc.cmake @@ -48,7 +48,6 @@ MACRO(FEATURE_SLEPC_FIND_EXTERNAL var) ENDIF() ENDMACRO() - MACRO(FEATURE_SLEPC_CONFIGURE_EXTERNAL) INCLUDE_DIRECTORIES(${SLEPC_INCLUDE_DIRS}) -- 2.39.5