From e082187c54460ffe3c9931fc1e03d13592948d52 Mon Sep 17 00:00:00 2001 From: Joe Dong Date: Wed, 15 May 2024 17:37:39 +0800 Subject: [PATCH] chore: Disable array bounds warning in CMakeLists.txt --- orbbec_camera/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orbbec_camera/CMakeLists.txt b/orbbec_camera/CMakeLists.txt index 6e9de304..60572e74 100644 --- a/orbbec_camera/CMakeLists.txt +++ b/orbbec_camera/CMakeLists.txt @@ -13,7 +13,7 @@ option(USE_NV_HW_DECODER "Use Nvidia hardware decoder" OFF) if (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") - add_compile_options(-Wall -Wextra -Werror -Wno-pedantic) + add_compile_options(-Wall -Wextra -Werror -Wno-pedantic -Wno-array-bounds) endif () # find dependencies