We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47e98bb commit c7f97f7Copy full SHA for c7f97f7
1 file changed
tests/CMakeLists.txt
@@ -37,6 +37,10 @@ if(SGL_BUILD_TESTS)
37
sgl/math/test_quaternion.cpp
38
sgl/math/test_vector.cpp
39
)
40
+ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
41
+ # GCC/libstdc++ can emit a false positive for vector-key comparisons in this stress test.
42
+ set_source_files_properties(sgl/core/test_lmdb_cache.cpp PROPERTIES COMPILE_OPTIONS "-Wno-error=stringop-overread")
43
+ endif()
44
target_include_directories(sgl_tests BEFORE PRIVATE sgl)
45
target_link_libraries(sgl_tests PRIVATE sgl header_only)
46
target_compile_definitions(sgl_tests PRIVATE SOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR}")
0 commit comments