Commit dcf6cf4a authored by Moritz Lipp's avatar Moritz Lipp

Fix meson.build

parent c6c64a9e
......@@ -23,7 +23,12 @@ poppler = dependency('poppler-glib', version: '>=0.18')
build_dependencies = [zathura, girara, glib, poppler]
if get_option('plugindir') == ''
plugindir = zathura.get_pkgconfig_variable('plugindir')
if zathura.type_name() == 'pkgconfig'
plugindir = zathura.get_pkgconfig_variable('plugindir')
else
zathura_subproject = subproject('zathura')
plugindir = zathura_subproject.get_variable('plugindir')
endif
else
plugindir = get_option('plugindir')
endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment