summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDimitri Stolnikov <horiz0n@gmx.net>2012-09-08 16:37:56 +0200
committerDimitri Stolnikov <horiz0n@gmx.net>2012-09-08 16:37:56 +0200
commit0c7ba8e03e55622169175cbba4045526e29323d8 (patch)
tree69aa9626b6e839d7ee89d804c7aa318a661fee71 /CMakeLists.txt
parent5a26bd51e77f54160854d668c590a2d1d53265a5 (diff)
don't install udev rules by default, as it may pollute the system
For cmake call with -DINSTALL_UDEV_RULES=ON for the rules to be installed during the default install/uninstall stages. For autotools call "make install-udev-rules" or "make uninstall-udev- The rules file will be installed to "/etc/udev/rules.d".
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0112754..f3ef31e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -90,7 +90,7 @@ add_custom_target(uninstall
########################################################################
# Install udev rules
########################################################################
-option(INSTALL_UDEV_RULES "Install udev rules for RTL-SDR" ON)
+option(INSTALL_UDEV_RULES "Install udev rules for RTL-SDR" OFF)
if (INSTALL_UDEV_RULES)
install (
FILES rtl-sdr.rules