From: Wolfgang Bangerth Date: Mon, 2 Sep 2013 02:31:00 +0000 (+0000) Subject: Detect p4est versions and provide preprocessor variables for it. X-Git-Tag: v8.1.0~916 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63c2b2b83ae3e85b73a40e5eeabb0799af4260bd;p=dealii.git Detect p4est versions and provide preprocessor variables for it. git-svn-id: https://svn.dealii.org/trunk@30544 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/base/config.h.in b/deal.II/include/deal.II/base/config.h.in index ca90c59df9..fff3e01930 100644 --- a/deal.II/include/deal.II/base/config.h.in +++ b/deal.II/include/deal.II/base/config.h.in @@ -347,6 +347,12 @@ #cmakedefine DEAL_II_WITH_P4EST #ifdef DEAL_II_WITH_P4EST # define DEAL_II_USE_P4EST + +# define DEAL_II_P4EST_VERSION_MAJOR @P4EST_VERSION_MAJOR@ +# define DEAL_II_P4EST_VERSION_MINOR @P4EST_VERSION_MINOR@ +# define DEAL_II_P4EST_VERSION_SUBMINOR @P4EST_VERSION_SUBMINOR@ +# define DEAL_II_P4EST_VERSION_PATCH @P4EST_VERSION_PATCH@ + #endif