summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build
index 38fbb41e..b24f8296 100644
--- a/src/libcamera/meson.build
+++ b/src/libcamera/meson.build
@@ -76,7 +76,7 @@ libdl = null_dep
if not cc.has_function('dlopen')
libdl = cc.find_library('dl')
endif
-libudev = dependency('libudev', required : false)
+libudev = dependency('libudev', required : get_option('udev'))
libyaml = dependency('yaml-0.1', required : false)
# Use one of gnutls or libcrypto (provided by OpenSSL), trying gnutls first.