We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26219cb commit cc2af6cCopy full SHA for cc2af6c
1 file changed
tests/CMakeLists.txt
@@ -58,6 +58,11 @@ if(_catch2_inc)
58
target_include_directories(csv_test SYSTEM PRIVATE ${_catch2_inc})
59
endif()
60
61
+# Emscripten: Catch2 uses __COUNTER__ (unsupported in emcc, flagged as C2y extension)
62
+if(EMSCRIPTEN)
63
+ target_compile_options(csv_test PRIVATE -Wno-c2y-extensions)
64
+endif()
65
+
66
if(MSVC)
67
# Workaround to enable debugging unit tests in Visual Studio
68
add_custom_command(
0 commit comments