summaryrefslogtreecommitdiff
path: root/ext/libpng
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-07-25 07:35:28 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2018-07-27 18:42:54 +0530
commit8f807477ebb324703172aaee1660ad21a5683fb7 (patch)
treeb52368ecacdffb314d282d0718fb662444075318 /ext/libpng
parentf2c2560db27b97ae9fa00e3a06a485b8e1cd79aa (diff)
downloadgstreamer-plugins-good-8f807477ebb324703172aaee1660ad21a5683fb7.tar.gz
meson: Add feature options for all plugins
Checks for GL, Qt5, and C++ are still automagic. FIXMEs have been added for these so they can be fixed later. https://bugzilla.gnome.org/show_bug.cgi?id=795107
Diffstat (limited to 'ext/libpng')
-rw-r--r--ext/libpng/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/libpng/meson.build b/ext/libpng/meson.build
index f6511f43d..e52088611 100644
--- a/ext/libpng/meson.build
+++ b/ext/libpng/meson.build
@@ -4,7 +4,7 @@ png_sources = [
'gstpngdec.c',
]
-libpng_dep = dependency('libpng', version : '>=1.2', required : false)
+libpng_dep = dependency('libpng', version : '>=1.2', required : get_option('png'))
if libpng_dep.found()
gstpng = library('gstpng',