summaryrefslogtreecommitdiff
path: root/examples
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 /examples
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 'examples')
-rw-r--r--examples/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/meson.build b/examples/meson.build
index 43e79d4a..802a1bf8 100644
--- a/examples/meson.build
+++ b/examples/meson.build
@@ -1,6 +1,6 @@
# examples
-# input: glibmm_dep, giomm_dep, build_examples, compile_schemas_py
+# input: glibmm_own_dep, giomm_own_dep, build_examples, compile_schemas_py
examples = [
# [[dir-name], exe-name, [sources], giomm-example (not just glibmm-example)]
@@ -63,7 +63,7 @@ foreach ex : examples
endforeach
is_multithread = ex[0][0] == 'network' or ex[0][0] == 'thread'
- mm_dep = ex[3] ? giomm_dep : glibmm_dep
+ mm_dep = ex[3] ? giomm_own_dep : glibmm_own_dep
executable(ex_name, ex_sources,
cpp_args: ['-DGLIBMM_DISABLE_DEPRECATED', '-DGIOMM_DISABLE_DEPRECATED'],