mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2024-12-27 08:42:48 +01:00
Static linking of OpenJPEG library
This commit is contained in:
parent
1e8531cda3
commit
f98e4ebdc5
@ -178,14 +178,10 @@ INCLUDEPATH += $$PDFFORQT_DEPENDENCIES_PATH/FreeType/include
|
||||
DEPENDPATH += $$PDFFORQT_DEPENDENCIES_PATH/FreeType/include
|
||||
|
||||
# Link to OpenJPEG library
|
||||
LIBS += -L$$PDFFORQT_DEPENDENCIES_PATH/OpenJPEG/lib/ -lopenjp2
|
||||
LIBS += -L$$PDFFORQT_DEPENDENCIES_PATH/OpenJPEG/lib/ -lopenjp2$${SUFFIX}
|
||||
INCLUDEPATH += $$PDFFORQT_DEPENDENCIES_PATH/OpenJPEG/include/openjpeg-2.3
|
||||
DEPENDPATH += $$PDFFORQT_DEPENDENCIES_PATH/OpenJPEG/include/openjpeg-2.3
|
||||
|
||||
# Add OpenJPEG to installations
|
||||
openjpeg_lib.files = $$PDFFORQT_DEPENDENCIES_PATH/OpenJPEG/bin/openjp2.dll
|
||||
openjpeg_lib.path = $$DESTDIR/install
|
||||
INSTALLS += openjpeg_lib
|
||||
DEFINES += OPJ_STATIC
|
||||
|
||||
# Link to Independent JPEG Groups libjpeg
|
||||
LIBS += -L$$PDFFORQT_DEPENDENCIES_PATH/libjpeg/bin/ -ljpeg$${SUFFIX}
|
||||
|
Loading…
Reference in New Issue
Block a user