File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -234,6 +234,16 @@ create_factory_registry_file( "${CMAKE_CURRENT_BINARY_DIR}/include/pangolin/fact
234234target_sources (${COMPONENT} PRIVATE "${CMAKE_CURRENT_BINARY_DIR} /include/pangolin/factory/RegisterFactoriesVideoInterface.h" )
235235target_sources (${COMPONENT} PRIVATE "${CMAKE_CURRENT_BINARY_DIR} /include/pangolin/factory/RegisterFactoriesVideoOutputInterface.h" )
236236
237+ # ignore errors in librealsense2 headers
238+ target_compile_options (${COMPONENT} PUBLIC
239+ -Wno-error=ignored-qualifiers
240+ -Wno-error=sign-compare
241+ -Wno-error=deprecated-copy
242+ -Wno-error=missing-field-initializers
243+ -Wno-error=missing-field-initializers
244+ -Wno-error=pessimizing-move
245+ )
246+
237247
238248if (BUILD_TESTS)
239249 add_executable (test_video_uris ${CMAKE_CURRENT_LIST_DIR} /tests/tests_video_uri.cpp)
You can’t perform that action at this time.
0 commit comments