From 38975d1f64fef7eaa31d356f36b32421685b0f3d Mon Sep 17 00:00:00 2001 From: Anton Thomasson Date: Sat, 4 Mar 2023 13:27:38 +0100 Subject: [PATCH] Fix pkgconfig includes --- harbour-seaprint.pro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/harbour-seaprint.pro b/harbour-seaprint.pro index cd68859..bdcf113 100644 --- a/harbour-seaprint.pro +++ b/harbour-seaprint.pro @@ -27,7 +27,8 @@ system(lrelease $$PWD/translations/*.ts) CONFIG += sailfishapp QT += svg dbus -PKGCONFIG += mlite5 libcurl poppler-glib glib-2.0 cairo libjpeg +PKGCONFIG += mlite5 libcurl glib-2.0 +INCLUDEPATH += $$system(pkg-config --cflags-only-I poppler-glib | sed 's/-I//g') LIBS += -lcurl -lglib-2.0 -lgobject-2.0 -ldl DEFINES += MADNESS=1 DEFINES += PDF_CREATOR='\\"SeaPrint\ $$VERSION\\"'