From 8f57b814172336d67acaead0f6a895c010c837b9 Mon Sep 17 00:00:00 2001 From: GeonHyeongP Date: Tue, 3 Sep 2024 19:03:24 +0900 Subject: [PATCH] bugfix: copy "99-realsense-libusb.rules" to "/etc/udev/rules.d/" in install time --- CMake/install_config.cmake | 12 ++++++------ CMakeLists.txt | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/CMake/install_config.cmake b/CMake/install_config.cmake index 983e646..f5eea8b 100644 --- a/CMake/install_config.cmake +++ b/CMake/install_config.cmake @@ -63,12 +63,12 @@ if(BUILD_FRAMOS_CODE) DESTINATION ${SOURCE_DEST} ) - if (UNIX) - install(FILES - ${PROJECT_SOURCE_DIR}/config/99-realsense-libusb.rules - DESTINATION /etc/udev/rules.d/ - ) - endif() + # if (UNIX) + # install(FILES + # ${PROJECT_SOURCE_DIR}/config/99-realsense-libusb.rules + # DESTINATION /etc/udev/rules.d/ + # ) + # endif() endif() install(DIRECTORY ${PROJECT_SOURCE_DIR}/include/librealsense2 diff --git a/CMakeLists.txt b/CMakeLists.txt index a7c1d12..8fd03ae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,6 @@ if(${FORCE_LIBUVC} OR ${FORCE_WINUSB_UVC} OR ${ANDROID_USB_HOST_UVC}) endif() set( BUILD_FRAMOS_CODE ON ) -set( BUILD_EXAMPLES ON ) # Checking Internet connection, as TM2 needs to download the FW from amazon cloud if(BUILD_WITH_TM2 AND NOT INTERNET_CONNECTION)