[poppler] glib/CMakeLists.txt glib/poppler-features.h.cmake
Albert Astals Cid
aacid at kemper.freedesktop.org
Tue Jan 26 13:03:48 PST 2010
glib/CMakeLists.txt | 1 +
glib/poppler-features.h.cmake | 1 +
2 files changed, 2 insertions(+)
New commits:
commit 428cc965c17f167ea00540beeaeaac5c3e426686
Author: Albert Astals Cid <aacid at kde.org>
Date: Tue Jan 26 21:01:32 2010 +0000
Add POPPLER_WITH_GDK in cmake build system
Bug 26247
diff --git a/glib/CMakeLists.txt b/glib/CMakeLists.txt
index 206610b..3290377 100644
--- a/glib/CMakeLists.txt
+++ b/glib/CMakeLists.txt
@@ -9,6 +9,7 @@ set (CAIRO_FEATURE "#define POPPLER_HAS_CAIRO 1")
add_definitions(${CAIRO_CFLAGS})
if (GDK_FOUND)
+ set (GDK_FEATURE "#define POPPLER_WITH_GDK 1")
add_definitions(${GDK2_CFLAGS})
endif (GDK_FOUND)
diff --git a/glib/poppler-features.h.cmake b/glib/poppler-features.h.cmake
index 1f79ce4..ed5569c 100644
--- a/glib/poppler-features.h.cmake
+++ b/glib/poppler-features.h.cmake
@@ -19,6 +19,7 @@
#ifndef __POPPLER_FEATURES_H__
#define __POPPLER_FEATURES_H__
+ at GDK_FEATURE@
@CAIRO_FEATURE@
#define POPPLER_MAJOR_VERSION (@POPPLER_MAJOR_VERSION@)
More information about the poppler
mailing list