We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 922ad22 commit 6c16057Copy full SHA for 6c16057
orbbec_camera/CMakeLists.txt
@@ -252,6 +252,10 @@ if(INSTALL_UDEV_RULES)
252
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/scripts/99-obsensor-libusb.rules
253
DESTINATION share/${PROJECT_NAME}/udev)
254
endif()
255
+if(DEFINED ENV{BUILDING_PACKAGE})
256
+ # Install udev rules
257
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/scripts/99-obsensor-libusb.rules DESTINATION /etc/udev/rules.d)
258
+endif()
259
260
install(TARGETS list_devices_node list_depth_work_mode_node list_camera_profile_mode_node topic_statistics_node service_benchmark_node ob_benchmark_node 435le_example_node set_device_ip image_sync_example_node DESTINATION lib/${PROJECT_NAME}/
261
)
0 commit comments