]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix in p4est
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 21 Sep 2012 10:21:39 +0000 (10:21 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 21 Sep 2012 10:21:39 +0000 (10:21 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26588 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/cmake/configure/configure_p4est.cmake

index 471e8e4b9f38d2ec524ea095c78d16c664b266fd..8316026eb5b11fa6e06e8a21229b615b00d616a1 100644 (file)
@@ -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

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.