gplugin/gplugin

Parents f322ab51b750
Children f14783ee151b
Fix an issue where meson would fail if building without gtk3 support

Testing Done:
Ran `meson` (with no options) and verified that `ninja doc` built both `gplugin-doc` and `gplugin-gtk-doc`.

Ran `meson -Dgtk3=false` and verified that `ninja doc` just built `gplugin-doc`

Reviewed at https://reviews.imfreedom.org/r/629/
  • +6 -1
    meson.build
  • --- a/meson.build Wed Mar 24 03:25:11 2021 -0500
    +++ b/meson.build Wed Apr 28 04:09:45 2021 -0500
    @@ -97,7 +97,12 @@
    subdir('vala')
    if ENABLE_DOC
    - alias_target('doc', gplugin_doc, gplugin_gtk_doc)
    + doc_targets = [gplugin_doc]
    + if get_option('gtk3')
    + doc_targets += gplugin_gtk_doc
    + endif
    +
    + alias_target('doc', doc_targets)
    endif
    ###############################################################################