diff --git a/cmake/modules/CheckConstexpr.cmake b/cmake/modules/CheckConstexpr.cmake deleted file mode 100644 index aca53b1b2a8dc056f743f156f41d080230ff2369..0000000000000000000000000000000000000000 --- a/cmake/modules/CheckConstexpr.cmake +++ /dev/null @@ -1,7 +0,0 @@ -# check support of constexpr -CHECK_CXX_SOURCE_COMPILES(" - int main(void) { - constexpr double g = 9.81; - return 0; } -" - HAVE_CONSTEXPR) diff --git a/cmake/modules/DumuxMacros.cmake b/cmake/modules/DumuxMacros.cmake index 2a3dc11f91ec7c370f3aedb3f3dba2747b9147d0..835e3a85bd96d0841a0fbd41a36a695e849d0c76 100644 --- a/cmake/modules/DumuxMacros.cmake +++ b/cmake/modules/DumuxMacros.cmake @@ -1,5 +1,3 @@ -# checks -include(CheckConstexpr) # additional macros include(AddInputFileLinks) include(DumuxTestMacros) diff --git a/config.h.cmake b/config.h.cmake index 7e59db2085f8b51d3cd7d69df1cae9148e63c9c7..df704d7edf09c6c5f5dcfd8dabf4ae1180bbae96 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -28,17 +28,6 @@ /* end private */ -/* Define to 1 if dune-pdelab is patched to be usable by DuMuX */ -#cmakedefine DUNE_PDELAB_IS_PATCHED_FOR_DUMUX @DUNE_PDELAB_IS_PATCHED_FOR_DUMUX@ - -/* Define to 1 if constexpr is supported */ -#cmakedefine HAVE_CONSTEXPR @HAVE_CONSTEXPR@ - -/* Set 'constexpr' to 'const' if constexpr is not supported */ -#ifndef HAVE_CONSTEXPR -#define constexpr const -#endif - /* Define to 1 if gnuplot was found */ #cmakedefine HAVE_GNUPLOT 1