summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2012-01-30 00:32:52 +0100
committerPino Toscano <pino@kde.org>2012-01-30 00:37:26 +0100
commitdedc68a137aacd5f1641d7478e6c531a7dbd3e30 (patch)
treeaccfabfb3223863064c0fa17799e8f614aaec156
parent8c3dfa26fdc4587b4a88a769806dcf38b2c5b395 (diff)
glib/cmake: various minor introspection improvements
"port" to CMake of the automake equivalents of 5ab46f9881067ce8aa203a330e2ddbe75744c50e
-rw-r--r--glib/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/glib/CMakeLists.txt b/glib/CMakeLists.txt
index edc22f18..bc46b4d7 100644
--- a/glib/CMakeLists.txt
+++ b/glib/CMakeLists.txt
@@ -117,8 +117,11 @@ if (HAVE_INTROSPECTION)
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)