mirror of
https://github.com/YACReader/yacreader
synced 2025-06-03 00:58:32 -04:00
Support arm64 when building using pdfium
This commit is contained in:
parent
50d74a7b7a
commit
3e9d58b9d1
14
dependencies/pdf_backend.pri
vendored
14
dependencies/pdf_backend.pri
vendored
@ -7,12 +7,14 @@ CONFIG(pdfium) {
|
||||
DEFINES += "USE_PDFIUM"
|
||||
SOURCES += ../common/pdf_comic.cpp
|
||||
msvc {
|
||||
INCLUDEPATH += $$PWD/pdfium/win/public
|
||||
contains(QMAKE_TARGET.arch, x86_64): {
|
||||
LIBS += -L$$PWD/pdfium/win/x64 -lpdfium
|
||||
} else {
|
||||
LIBS += -L$$PWD/pdfium/win/x86 -lpdfium
|
||||
}
|
||||
INCLUDEPATH += $$PWD/pdfium/win/public
|
||||
contains(QMAKE_TARGET.arch, x86_64): {
|
||||
LIBS += -L$$PWD/pdfium/win/x64 -lpdfium
|
||||
} else:contains(QMAKE_TARGET.arch, arm64): {
|
||||
LIBS += -L$$PWD/pdfium/win/arm64 -lpdfium
|
||||
} else {
|
||||
LIBS += -L$$PWD/pdfium/win/x86 -lpdfium
|
||||
}
|
||||
}
|
||||
unix|mingw {
|
||||
macx {
|
||||
|
BIN
dependencies/pdfium/win/arm64/pdfium.dll
vendored
Normal file
BIN
dependencies/pdfium/win/arm64/pdfium.dll
vendored
Normal file
Binary file not shown.
BIN
dependencies/pdfium/win/arm64/pdfium.lib
vendored
Normal file
BIN
dependencies/pdfium/win/arm64/pdfium.lib
vendored
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user