[Poppler-bugs] [Bug 26442] poppler-0.12.3 fails to compile glib component when gtk was found

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Feb 6 10:49:15 PST 2010


http://bugs.freedesktop.org/show_bug.cgi?id=26442





--- Comment #3 from Albert Astals Cid <tsdgeos at terra.es>  2010-02-06 10:49:15 PST ---
Two questions:
 * Does the autotools based build work?
 * Does this patch help?

diff --git a/glib/CMakeLists.txt b/glib/CMakeLists.txt
index 6ed9523..392da66 100644
--- a/glib/CMakeLists.txt
+++ b/glib/CMakeLists.txt
@@ -112,6 +112,7 @@ if (GDK_FOUND)
     test-poppler-glib.cc
   )
   poppler_add_test(test-poppler-glib BUILD_GTK_TESTS
${test_poppler_glib_SRCS})
+  target_link_libraries(poppler-glib ${GDK2_LIBRARIES})
   target_link_libraries(test-poppler-glib poppler-glib ${GDK2_LIBRARIES})
 endif (GDK_FOUND)


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list