Skip to content

Commit e082187

Browse files
committed
chore: Disable array bounds warning in CMakeLists.txt
1 parent fd74002 commit e082187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orbbec_camera/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ option(USE_NV_HW_DECODER "Use Nvidia hardware decoder" OFF)
1313

1414

1515
if (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
16-
add_compile_options(-Wall -Wextra -Werror -Wno-pedantic)
16+
add_compile_options(-Wall -Wextra -Werror -Wno-pedantic -Wno-array-bounds)
1717
endif ()
1818

1919
# find dependencies

0 commit comments

Comments
 (0)