|
|
@ -87,6 +87,20 @@ add_custom_target(uninstall |
|
|
|
${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake |
|
|
|
${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
######################################################################## |
|
|
|
|
|
|
|
# Install udev rules |
|
|
|
|
|
|
|
######################################################################## |
|
|
|
|
|
|
|
option(INSTALL_UDEV_RULES "Install udev rules for RTL-SDR" ON) |
|
|
|
|
|
|
|
if (INSTALL_UDEV_RULES) |
|
|
|
|
|
|
|
install ( |
|
|
|
|
|
|
|
FILES rtl-sdr.rules |
|
|
|
|
|
|
|
DESTINATION "/etc/udev/rules.d" |
|
|
|
|
|
|
|
COMPONENT "udev" |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
else (INSTALL_UDEV_RULES) |
|
|
|
|
|
|
|
message (STATUS "Udev rules not being installed, install them with -DINSTALL_UDEV_RULES=ON") |
|
|
|
|
|
|
|
endif (INSTALL_UDEV_RULES) |
|
|
|
|
|
|
|
|
|
|
|
######################################################################## |
|
|
|
######################################################################## |
|
|
|
# Add subdirectories |
|
|
|
# Add subdirectories |
|
|
|
######################################################################## |
|
|
|
######################################################################## |
|
|
|