kompute : don't fail build because of -Warray-bounds

There are some warnings in debug builds that are likely to be false
positives.
This commit is contained in:
Cebtenzzre 2023-09-26 10:35:05 -04:00 committed by cebtenzzre
parent 1b1416d7b7
commit 6b6c73a9e3

View File

@ -169,7 +169,7 @@ endif()
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wpedantic -Werror")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wpedantic -Werror -Wno-error=array-bounds")
endif()
# If glslang is cloned, then SPIRV/GlslangToSpv.h will be used instead of glslang/SPIRV/GlslangToSpv.h