mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -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"
|
DEFINES += "USE_PDFIUM"
|
||||||
SOURCES += ../common/pdf_comic.cpp
|
SOURCES += ../common/pdf_comic.cpp
|
||||||
msvc {
|
msvc {
|
||||||
INCLUDEPATH += $$PWD/pdfium/win/public
|
INCLUDEPATH += $$PWD/pdfium/win/public
|
||||||
contains(QMAKE_TARGET.arch, x86_64): {
|
contains(QMAKE_TARGET.arch, x86_64): {
|
||||||
LIBS += -L$$PWD/pdfium/win/x64 -lpdfium
|
LIBS += -L$$PWD/pdfium/win/x64 -lpdfium
|
||||||
} else {
|
} else:contains(QMAKE_TARGET.arch, arm64): {
|
||||||
LIBS += -L$$PWD/pdfium/win/x86 -lpdfium
|
LIBS += -L$$PWD/pdfium/win/arm64 -lpdfium
|
||||||
}
|
} else {
|
||||||
|
LIBS += -L$$PWD/pdfium/win/x86 -lpdfium
|
||||||
|
}
|
||||||
}
|
}
|
||||||
unix|mingw {
|
unix|mingw {
|
||||||
macx {
|
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