From: Matthias Maier Date: Fri, 21 Sep 2012 10:21:39 +0000 (+0000) Subject: Bugfix in p4est X-Git-Tag: v8.0.0~1079^2~744 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df8c37c2e501fbaa97992de58fa74efd7d58323f;p=dealii.git Bugfix in p4est git-svn-id: https://svn.dealii.org/branches/branch_cmake@26588 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/contrib/cmake/configure/configure_p4est.cmake b/deal.II/contrib/cmake/configure/configure_p4est.cmake index 471e8e4b9f..8316026eb5 100644 --- a/deal.II/contrib/cmake/configure/configure_p4est.cmake +++ b/deal.II/contrib/cmake/configure/configure_p4est.cmake @@ -46,6 +46,9 @@ ENDMACRO() MACRO(FEATURE_P4EST_CONFIGURE_EXTERNAL var) INCLUDE_DIRECTORIES(${P4EST_INCLUDE_DIR} ${SC_INCLUDE_DIR}) + # The user has to know the location of the p4est headers as well: + LIST(APPEND DEAL_II_EXTERNAL_INCLUDE_DIRS ${P4EST_INCLUDE_DIR} ${SC_INCLUDE_DIR}) + IF (CMAKE_BUILD_TYPE MATCHES "Debug") IF(P4EST_DEBUG_FOUND AND SC_DEBUG_FOUND) LIST(APPEND DEAL_II_EXTERNAL_LIBRARIES