mirror of https://github.com/JakubMelka/PDF4QT.git
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
|
DEPENDPATH += $$PDFFORQT_DEPENDENCIES_PATH/FreeType/include
|
||||||
|
|
||||||
# Link to OpenJPEG library
|
# 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
|
INCLUDEPATH += $$PDFFORQT_DEPENDENCIES_PATH/OpenJPEG/include/openjpeg-2.3
|
||||||
DEPENDPATH += $$PDFFORQT_DEPENDENCIES_PATH/OpenJPEG/include/openjpeg-2.3
|
DEPENDPATH += $$PDFFORQT_DEPENDENCIES_PATH/OpenJPEG/include/openjpeg-2.3
|
||||||
|
DEFINES += OPJ_STATIC
|
||||||
# Add OpenJPEG to installations
|
|
||||||
openjpeg_lib.files = $$PDFFORQT_DEPENDENCIES_PATH/OpenJPEG/bin/openjp2.dll
|
|
||||||
openjpeg_lib.path = $$DESTDIR/install
|
|
||||||
INSTALLS += openjpeg_lib
|
|
||||||
|
|
||||||
# Link to Independent JPEG Groups libjpeg
|
# Link to Independent JPEG Groups libjpeg
|
||||||
LIBS += -L$$PDFFORQT_DEPENDENCIES_PATH/libjpeg/bin/ -ljpeg$${SUFFIX}
|
LIBS += -L$$PDFFORQT_DEPENDENCIES_PATH/libjpeg/bin/ -ljpeg$${SUFFIX}
|
||||||
|
|
Loading…
Reference in New Issue