conservation-laws / ryujin

High-performance high-order finite element solver for hyperbolic conservation equations
https://conservation-laws.org
Other
103 stars 25 forks source link

Don't set C++17 flags in `CMakeLists.txt` #70

Closed tamiko closed 4 months ago

tamiko commented 4 months ago

@bangerth

The CMakeLists.txt file contains this line:

string(APPEND DEAL_II_CXX_FLAGS " -std=c++17")

This leads to trouble if deal.II has been compiled with C++20 support because it backs down to C++17 mode and you end up with errors.

Solution: Just don't do it :-)