aboutsummaryrefslogtreecommitdiff
path: root/src/meson.build
diff options
context:
space:
mode:
authorAleksander Morgado <aleksandermj@chromium.org>2022-10-27 21:41:59 +0000
committerAleksander Morgado <aleksandermj@chromium.org>2022-11-07 14:25:34 +0000
commit7ea2452b1e4ff3f572dd93e00a01868a663b3cc4 (patch)
treec5a73de2a066dd56cd0b854a4e4050adcf9c9d54 /src/meson.build
parent30d77d378a0c1721ae8db7342e758a57cf1ae57f (diff)
build: fix building without tests support
Diffstat (limited to 'src/meson.build')
-rw-r--r--src/meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/meson.build b/src/meson.build
index e7a6d0c5..30aedbe9 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -247,11 +247,14 @@ daemon_enums_sources += gnome.mkenums(
deps = [
gmodule_dep,
- libmm_test_generated_dep,
libport_dep,
libqcdm_dep,
]
+if enable_tests
+ deps += [libmm_test_generated_dep]
+endif
+
c_args = [
'-DMM_COMPILATION',
'-DPLUGINDIR="@0@"'.format(mm_prefix / mm_pkglibdir),