summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2021-03-12 17:03:03 +0100
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2021-03-12 17:03:03 +0100
commit3ec8bdad019572c518d2fee17040b46a161d6f40 (patch)
tree21641a0e1a9c3c652baa3b17b00ef4035f74dd9c /tests
parentc0e5395a1bc40b3e12b3bc3bbd5fae7d81f8029f (diff)
downloadglibmm-3ec8bdad019572c518d2fee17040b46a161d6f40.tar.gz
Meson build: Make it possible to use glibmm as a subproject
glib and sigc++ can be subprojects of glibmm.
Diffstat (limited to 'tests')
-rw-r--r--tests/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 07985851..814bce83 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1,6 +1,6 @@
# tests
-# input: glibmm_dep, giomm_dep
+# input: glibmm_own_dep, giomm_own_dep
test_programs = [
# [[dir-name], exe-name, [sources], giomm-example (not just glibmm-example)]
@@ -54,7 +54,7 @@ foreach ex : test_programs
endforeach
is_multithread = ex[0][0] == 'glibmm_mainloop'
- mm_dep = ex[3] ? giomm_dep : glibmm_dep
+ mm_dep = ex[3] ? giomm_own_dep : glibmm_own_dep
exe_file = executable(ex_name, ex_sources,
cpp_args: ['-DGLIBMM_DISABLE_DEPRECATED', '-DGIOMM_DISABLE_DEPRECATED'],