From: Daniel Arndt Date: Mon, 20 Mar 2023 12:40:07 +0000 (-0400) Subject: Use header for C++20 feature checks X-Git-Tag: v9.5.0-rc1~450^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15285822bea3bb937ff6de3fa794d80701754f0c;p=dealii.git Use header for C++20 feature checks --- diff --git a/cmake/checks/check_01_cxx_features.cmake b/cmake/checks/check_01_cxx_features.cmake index b6b9a0b28a..1fa2401dbc 100644 --- a/cmake/checks/check_01_cxx_features.cmake +++ b/cmake/checks/check_01_cxx_features.cmake @@ -70,8 +70,7 @@ macro(_test_cxx20_support) # Beyond this, check for some features we actually need. CHECK_CXX_SOURCE_COMPILES( " - #include - #include + #include #if __cplusplus < 201709L && !defined(_MSC_VER) && !defined(__INTEL_COMPILER) # error \"insufficient support for C++20\"