mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Adjust backend paths for prebuilt pdfium libraries.
This commit is contained in:
parent
4630198439
commit
2139e269d5
8
dependencies/pdf_backend.pri
vendored
8
dependencies/pdf_backend.pri
vendored
@ -6,17 +6,17 @@ CONFIG(pdfium) {
|
|||||||
DEFINES += "USE_PDFIUM"
|
DEFINES += "USE_PDFIUM"
|
||||||
SOURCES += ../common/pdf_comic.cpp
|
SOURCES += ../common/pdf_comic.cpp
|
||||||
win32 {
|
win32 {
|
||||||
INCLUDEPATH += ../dependencies/pdfium/public
|
INCLUDEPATH += ../dependencies/pdfium/win/public
|
||||||
contains(QMAKE_TARGET.arch, x86_64): {
|
contains(QMAKE_TARGET.arch, x86_64): {
|
||||||
LIBS += -L$$PWD/../dependencies/pdfium/x64 -lpdfium
|
LIBS += -L$$PWD/../dependencies/pdfium/win/x64 -lpdfium
|
||||||
} else {
|
} else {
|
||||||
LIBS += -L$$PWD/../dependencies/pdfium/x86 -lpdfium
|
LIBS += -L$$PWD/../dependencies/pdfium/win/x86 -lpdfium
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
unix {
|
unix {
|
||||||
macx {
|
macx {
|
||||||
LIBS += -L$$PWD/../dependencies/pdfium/macx/bin -lpdfium
|
LIBS += -L$$PWD/../dependencies/pdfium/macx/bin -lpdfium
|
||||||
INCLUDEPATH += $$PWD/../dependencies/pdfium/macx/include
|
INCLUDEPATH += $$PWD/../dependencies/pdfium/macx/public
|
||||||
}
|
}
|
||||||
!macx {
|
!macx {
|
||||||
INCLUDEPATH += /usr/include/pdfium
|
INCLUDEPATH += /usr/include/pdfium
|
||||||
|
Loading…
x
Reference in New Issue
Block a user