[poppler] glib/CMakeLists.txt
Carlos Garcia Campos
carlosgc at kemper.freedesktop.org
Sun Sep 24 08:01:12 UTC 2017
glib/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit cceb80b353ca748d1e04373d238195fd548319b8
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: Sun Sep 24 08:24:44 2017 +0200
glib: Make g-ir-scanner always link to the libs in build directory
It was using the installed libraries, causing a build failure when
there's new API added to the poppler core.
diff --git a/glib/CMakeLists.txt b/glib/CMakeLists.txt
index a6a0ab62..1f06fec8 100644
--- a/glib/CMakeLists.txt
+++ b/glib/CMakeLists.txt
@@ -118,7 +118,7 @@ if (HAVE_INTROSPECTION)
set(Poppler_0_18_gir_INCLUDES GObject-2.0 Gio-2.0 cairo-1.0)
get_directory_property(_tmp_includes INCLUDE_DIRECTORIES)
_list_prefix(_includes _tmp_includes "-I")
- set(Poppler_0_18_gir_CFLAGS ${_includes})
+ set(Poppler_0_18_gir_CFLAGS ${_includes} -L${CMAKE_BINARY_DIR})
set(Poppler_0_18_gir_LIBS poppler-glib)
_list_prefix(_abs_introspection_files introspection_files "${CMAKE_CURRENT_SOURCE_DIR}/")
list(APPEND _abs_introspection_files
More information about the poppler
mailing list