From e4a469f00b69126fe7b002387e7927e2bd5674a4 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Fri, 22 May 2020 09:45:19 -0500 Subject: [PATCH] also update config.h.in --- include/deal.II/base/config.h.in | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/include/deal.II/base/config.h.in b/include/deal.II/base/config.h.in index 0d6e2db5df..9b876ff034 100644 --- a/include/deal.II/base/config.h.in +++ b/include/deal.II/base/config.h.in @@ -64,10 +64,6 @@ #cmakedefine DEAL_II_WITH_UMFPACK #cmakedefine DEAL_II_WITH_ZLIB -// defined for backwards compatibility with older deal.II versions -#define DEAL_II_WITH_CXX11 -#define DEAL_II_WITH_CXX14 - /*********************************************************************** * Compiler bugs: * @@ -146,6 +142,13 @@ #cmakedefine DEAL_II_FALLTHROUGH @DEAL_II_FALLTHROUGH@ #cmakedefine DEAL_II_CONSTEXPR @DEAL_II_CONSTEXPR@ +// defined for backwards compatibility with older deal.II versions +#define DEAL_II_WITH_CXX11 +#define DEAL_II_WITH_CXX14 +#ifdef DEAL_II_HAVE_CXX17 +# define DEAL_II_WITH_CXX17 +#endif + /*********************************************************************** * System features: -- 2.39.5