aboutsummaryrefslogtreecommitdiff
path: root/src-qt5
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5')
-rw-r--r--src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro11
1 files changed, 6 insertions, 5 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro b/src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro
index 6ca51b79..c63386c0 100644
--- a/src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro
+++ b/src-qt5/desktop-utils/lumina-pdf/lumina-pdf.pro
@@ -36,14 +36,15 @@ FORMS += mainUI.ui \
PropDialog.ui \
BookmarkMenu.ui
-isEmpty(USE_POPPLER){
- message("Using MuPDF Backend")
- LIBS += -lmupdf -lmupdfthird
- SOURCES += Renderer-mupdf.cpp
-}else{
+isEmpty(USE_MUPDF) || !isEmpty(USE_POPPLER){
message("Using Poppler-Qt5 Backend")
LIBS += -lpoppler-qt5
SOURCES += Renderer-poppler.cpp
+}else{
+ message("Using MuPDF Backend")
+ LIBS += -lmupdf -lmupdfthird
+ SOURCES += Renderer-mupdf.cpp
+
}
TRANSLATIONS = i18n/l-pdf_af.ts \
bgstack15