[phodav: 1/2] meson: add udev build option



commit 3925b28f356feef6b67ef95eae6de378df44100d
Author: maxice8 <thinkabit ukim gmail com>
Date:   Wed Feb 27 07:45:44 2019 -0300

    meson: add udev build option

 meson.build       | 2 +-
 meson_options.txt | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 1b7fa2f..f002194 100644
--- a/meson.build
+++ b/meson.build
@@ -53,7 +53,7 @@ if systemd.found()
   )
 endif
 
-udev = dependency('udev', required : get_option('systemd'))
+udev = dependency('udev', required : get_option('udev'))
 if udev.found()
   install_data(
     'data/70-spice-webdavd.rules',
diff --git a/meson_options.txt b/meson_options.txt
index d72a44b..724a0d3 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -10,6 +10,10 @@ option('systemd',
        type : 'feature',
        description : 'Install systemd units/configuration')
 
+option('udev',
+       type : 'feature',
+       description : 'Install udev rules')
+
 option('build-id',
        type : 'integer',
        value : 0,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]