mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-10 06:29:50 +08:00
ignore 'deprecated-declarations'
This commit is contained in:
@@ -13,6 +13,7 @@ option(INSTALL_UDEV_RULES "Install udev rule for Orbbec cameras" ON)
|
||||
|
||||
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
add_compile_options(-Wall -Wextra -Werror -Wno-pedantic -Wno-array-bounds)
|
||||
add_compile_options(-Wno-error=deprecated-declarations)
|
||||
endif()
|
||||
|
||||
# find dependencies
|
||||
|
||||
Reference in New Issue
Block a user