fix: workaround GCC bug

see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329
Dieser Commit ist enthalten in:
Reinder Feenstra 2025-01-24 00:21:55 +01:00
Ursprung 2144913340
Commit a9b94d4e9f

Datei anzeigen

@ -37,6 +37,7 @@ if(BUILD_TESTING)
CXX_STANDARD 20
CXX_CLANG_TIDY ""
)
target_compile_options(Catch2 PRIVATE -Wno-restrict) # workaround GCC bug
add_executable(traintastic-server-test test/main.cpp)
add_dependencies(traintastic-server-test traintastic-lang)
target_compile_definitions(traintastic-server-test PRIVATE -DTRAINTASTIC_TEST)