glib/cmake: various minor introspection improvements
"port" to CMake of the automake equivalents of 4765c3289635fe4fb006e7df4f83d7056eb42855
diff --git a/glib/CMakeLists.txt b/glib/CMakeLists.txt
index edc22f1..bc46b4d 100644
--- a/glib/CMakeLists.txt
+++ b/glib/CMakeLists.txt
@@ -117,8 +117,11 @@
list(APPEND _abs_introspection_files
${CMAKE_CURRENT_BINARY_DIR}/poppler-enums.c
${CMAKE_CURRENT_BINARY_DIR}/poppler-enums.h
+ ${CMAKE_CURRENT_BINARY_DIR}/poppler-features.h
)
set(Poppler_0_18_gir_FILES ${_abs_introspection_files})
+ set(Poppler_0_18_gir_SCANNERFLAGS --c-include poppler.h)
+ set(Poppler_0_18_gir_EXPORT_PACKAGES poppler-glib)
list(APPEND INTROSPECTION_GIRS Poppler-0.18.gir)