Commit 0105caef authored by Pino Toscano's avatar Pino Toscano

[cpp] add the pkg-config stuff

parent d5a74f78
......@@ -452,6 +452,9 @@ endif(GLIB_FOUND)
if(CAIRO_FOUND)
poppler_create_install_pkgconfig(poppler-cairo.pc lib${LIB_SUFFIX}/pkgconfig)
endif(CAIRO_FOUND)
if(ENABLE_CPP)
poppler_create_install_pkgconfig(poppler-cpp.pc lib${LIB_SUFFIX}/pkgconfig)
endif(ENABLE_CPP)
message("Building Poppler with support for:")
......
......@@ -27,6 +27,7 @@ endif
if BUILD_POPPLER_CPP
cpp_subdir = cpp
cpp_pc_file = poppler-cpp.pc
endif
if BUILD_UTILS
......@@ -40,7 +41,8 @@ EXTRA_DIST = \
poppler.pc.in \
poppler-cairo.pc.in \
poppler-splash.pc.in \
poppler-qt.pc.in
poppler-qt.pc.in \
poppler-cpp.pc.in
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = \
......@@ -49,7 +51,8 @@ pkgconfig_DATA = \
$(splash_pc_file) \
$(glib_pc_file) \
$(qt_pc_file) \
$(qt4_pc_file)
$(qt4_pc_file) \
$(cpp_pc_file)
# Add CMake buildsystem files here so they get added on make dist
EXTRA_DIST += \
......
......@@ -571,7 +571,8 @@ poppler-cairo.pc
poppler-splash.pc
poppler-glib.pc
poppler-qt.pc
poppler-qt4.pc])
poppler-qt4.pc
poppler-cpp.pc])
echo ""
......
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
libdir=${exec_prefix}/lib@LIB_SUFFIX@
includedir=${prefix}/include
Name: poppler-cpp
Description: cpp backend for Poppler PDF rendering library
Version: @POPPLER_VERSION@
Requires: poppler = @POPPLER_VERSION@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: poppler-cpp
Description: cpp backend for Poppler PDF rendering library
Version: @VERSION@
Requires: poppler = @VERSION@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment