[poppler] CMakeLists.txt poppler-qt6.pc.cmake
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Feb 9 23:53:27 UTC 2021
CMakeLists.txt | 3 +++
poppler-qt6.pc.cmake | 12 ++++++++++++
2 files changed, 15 insertions(+)
New commits:
commit 22abc5e390c10fe09a82912b2636fa6b416980a7
Author: Albert Astals Cid <aacid at kde.org>
Date: Wed Feb 10 00:47:49 2021 +0100
Add missing poppler-qt6.pc.cmake
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 860e3d0e..2b6822ed 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -770,6 +770,9 @@ if(PKG_CONFIG_EXECUTABLE)
if(ENABLE_QT5)
poppler_create_install_pkgconfig(poppler-qt5.pc ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
endif()
+ if(ENABLE_QT6)
+ poppler_create_install_pkgconfig(poppler-qt6.pc ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
+ endif()
if(ENABLE_GLIB)
poppler_create_install_pkgconfig(poppler-glib.pc ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
endif()
diff --git a/poppler-qt6.pc.cmake b/poppler-qt6.pc.cmake
new file mode 100644
index 00000000..03169a34
--- /dev/null
+++ b/poppler-qt6.pc.cmake
@@ -0,0 +1,12 @@
+prefix=@CMAKE_INSTALL_PREFIX@
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
+
+Name: poppler-qt6
+Description: Qt6 bindings for poppler
+Version: @POPPLER_VERSION@
+Requires: @PC_REQUIRES@
+ at PC_REQUIRES_PRIVATE@
+
+Libs: -L${libdir} -lpoppler-qt6
+Cflags: -I${includedir}/poppler/qt6
More information about the poppler
mailing list