[poppler] CMakeLists.txt

Pino Toscano pino at kemper.freedesktop.org
Sat Jul 17 05:58:34 PDT 2010


 CMakeLists.txt |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 2a252dd9b05857bbd10dee235e873886fc74ec17
Author: Pino Toscano <pino at kde.org>
Date:   Sat Jul 17 14:57:38 2010 +0200

    [CMake] add stub message and TODO for the gobject-introspection support

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 746a9f8..3deab15 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -92,6 +92,8 @@ if(CAIRO_FOUND)
   macro_optional_find_package(GLIB)
   if(GLIB_FOUND)
     set(ENABLE_GLIB ON)
+    # Check for introspection
+    # TODO: GOBJECT_INTROSPECTION_CHECK([0.6.7])
     set(GLIB_REQ "glib-2.0 >= ${GLIB_REQUIRED} gobject-2.0 >= ${GLIB_REQUIRED} cairo >= ${CAIRO_VERSION}")
     set(POPPLER_GLIB_DISABLE_DEPRECATED "${POPPLER_GLIB_DISABLE_DEPRECATED} -DG_DISABLE_DEPRECATED")
     set(POPPLER_GLIB_DISABLE_SINGLE_INCLUDES "${POPPLER_GLIB_DISABLE_SINGLE_INCLUDES} -DG_DISABLE_SINGLE_INCLUDES")
@@ -575,6 +577,7 @@ show_end_message_yesno("qt wrapper" QT3_FOUND)
 show_end_message_yesno("qt4 wrapper" QT4_FOUND)
 show_end_message_yesno("glib wrapper" ENABLE_GLIB)
 show_end_message_yesno("  use GDK" POPPLER_WITH_GDK)
+show_end_message("  introspection" "not supported with this CMake build system")
 show_end_message_yesno("cpp wrapper" ENABLE_CPP)
 show_end_message("use gtk-doc" "not supported with this CMake build system")
 show_end_message_yesno("use libjpeg" ENABLE_LIBJPEG)


More information about the poppler mailing list