diff --git a/kompute/CMakeLists.txt b/kompute/CMakeLists.txt index aa228653a..1bd84d7ed 100644 --- a/kompute/CMakeLists.txt +++ b/kompute/CMakeLists.txt @@ -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