diff options
author | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2021-03-12 17:03:03 +0100 |
---|---|---|
committer | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2021-03-12 17:03:03 +0100 |
commit | 3ec8bdad019572c518d2fee17040b46a161d6f40 (patch) | |
tree | 21641a0e1a9c3c652baa3b17b00ef4035f74dd9c /docs | |
parent | c0e5395a1bc40b3e12b3bc3bbd5fae7d81f8029f (diff) | |
download | glibmm-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 'docs')
-rw-r--r-- | docs/reference/meson.build | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/reference/meson.build b/docs/reference/meson.build index 2ea2cc71..1c3e7579 100644 --- a/docs/reference/meson.build +++ b/docs/reference/meson.build @@ -5,7 +5,7 @@ # glibmm_extra_h_files, giomm_extra_h_files, glibmm_built_h_file_targets, # giomm_built_h_file_targets, glibmm_h_m4_files, install_datadir, # python3, doc_reference_py -# Output: install_docdir, install_devhelpdir +# Output: install_docdir, install_devhelpdir, tag_file tag_file_modules = [ 'mm-common-libstdc++', @@ -16,9 +16,9 @@ docinstall_flags = [] foreach module : tag_file_modules depmod = dependency(module, required: false) if depmod.found() - doxytagfile = depmod.get_pkgconfig_variable('doxytagfile') - htmlrefpub = depmod.get_pkgconfig_variable('htmlrefpub', default: '') - htmlrefdir = depmod.get_pkgconfig_variable('htmlrefdir', default: '') + doxytagfile = depmod.get_variable(pkgconfig: 'doxytagfile', internal: 'doxytagfile') + htmlrefpub = depmod.get_variable(pkgconfig: 'htmlrefpub', internal: 'htmlrefpub', default_value: '') + htmlrefdir = depmod.get_variable(pkgconfig: 'htmlrefdir', internal: 'htmlrefdir', default_value: '') if htmlrefpub == '' htmlrefpub = htmlrefdir elif htmlrefdir == '' |