diff --git a/cmake/TestStdFilesystem.cpp b/cmake/TestStdFilesystem.cpp index 1caf5057db6c1253635b8810e2a7792bd56d249f..079e2358213185a67aee9602ea01052819b328d7 100644 --- a/cmake/TestStdFilesystem.cpp +++ b/cmake/TestStdFilesystem.cpp @@ -5,6 +5,10 @@ #include <experimental/filesystem> #endif +#if defined(WALBERLA_USE_STD_FILESYSTEM) && defined(__GLIBCXX__) && (!defined(_GLIBCXX_RELEASE) || _GLIBCXX_RELEASE < 9) +#error "std:filesystem broken due to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90050" +#endif + int main() { #if defined(WALBERLA_USE_STD_FILESYSTEM) std::filesystem::path p("/tmp/test.txt");