poppler: toggle gobject-introspection support

It doesn't provide a way to enable or disable gobject-introspection
support for poppler. Toggle it respect to variable GI_DATA_ENABLED.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Kai Kang
2019-07-31 02:48:19 -04:00
committed by Khem Raj
parent 0a36d10f0c
commit 24fa93dff4

View File

@@ -34,6 +34,7 @@ EXTRA_OECMAKE += " \
-DBUILD_GTK_TESTS=OFF \
-DENABLE_ZLIB=ON \
-DCMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES:PATH='${STAGING_INCDIR}' \
${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DENABLE_GOBJECT_INTROSPECTION=ON', '-DENABLE_GOBJECT_INTROSPECTION=OFF', d)} \
"
do_configure_append() {