mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
c034b0bb72
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
16 lines
543 B
Diff
16 lines
543 B
Diff
diff --git a/bindings/qt/sdk.pri b/bindings/qt/sdk.pri
|
|
index 83ddc2e2f..46aa06d33 100644
|
|
--- a/bindings/qt/sdk.pri
|
|
+++ b/bindings/qt/sdk.pri
|
|
@@ -255,6 +255,11 @@ CONFIG(USE_PDFIUM) {
|
|
DEFINES += HAVE_PDFIUM
|
|
LIBS += -lpdfium
|
|
}
|
|
+ else:exists(/usr/include/pdfium/fpdfview.h) {
|
|
+ DEFINES += HAVE_PDFIUM
|
|
+ INCLUDEPATH += /usr/include/pdfium
|
|
+ LIBS += -lpdfium
|
|
+ }
|
|
}
|
|
else {#win/mac
|
|
DEFINES += HAVE_PDFIUM
|