Static linking of lcms2

This commit is contained in:
Jakub Melka 2020-11-08 18:04:46 +01:00
parent c91d198ae3
commit 8167065be5
1 changed files with 1 additions and 6 deletions

View File

@ -206,15 +206,10 @@ INCLUDEPATH += $$PDFFORQT_DEPENDENCIES_PATH/zlib/include
DEPENDPATH += $$PDFFORQT_DEPENDENCIES_PATH/zlib/include DEPENDPATH += $$PDFFORQT_DEPENDENCIES_PATH/zlib/include
# Link lcms2 # Link lcms2
LIBS += -L$$PDFFORQT_DEPENDENCIES_PATH/lcms2/bin/ -llcms2 LIBS += -L$$PDFFORQT_DEPENDENCIES_PATH/lcms2/bin$${SUFFIX}/ -llcms2_static
INCLUDEPATH += $$PDFFORQT_DEPENDENCIES_PATH/lcms2/include INCLUDEPATH += $$PDFFORQT_DEPENDENCIES_PATH/lcms2/include
DEPENDPATH += $$PDFFORQT_DEPENDENCIES_PATH/lcms2/include DEPENDPATH += $$PDFFORQT_DEPENDENCIES_PATH/lcms2/include
# Add lcms2 to installations
lcms2.files = $$PDFFORQT_DEPENDENCIES_PATH/lcms2/bin/lcms2.dll
lcms2.path = $$DESTDIR/install
INSTALLS += lcms2
# ensure debug info even for RELEASE build # ensure debug info even for RELEASE build
CONFIG += force_debug_info CONFIG += force_debug_info