summaryrefslogtreecommitdiff
path: root/introspection/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'introspection/meson.build')
-rw-r--r--introspection/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/introspection/meson.build b/introspection/meson.build
index b1da7ee56..6f45c185e 100644
--- a/introspection/meson.build
+++ b/introspection/meson.build
@@ -3,7 +3,9 @@
# DBus Introspection files
mm_ifaces_all = files('all.xml')
-mm_ifaces_test = files('tests/org.freedesktop.ModemManager1.Test.xml')
+if enable_tests
+ mm_ifaces_test = files('tests/org.freedesktop.ModemManager1.Test.xml')
+endif
mm_ifaces = files('org.freedesktop.ModemManager1.xml')