mirror of https://github.com/JakubMelka/PDF4QT.git
Adjust build system for Freetype and LCMS (recommended settings)
This commit is contained in:
parent
15e7b93393
commit
27cccbedcb
|
@ -56,9 +56,9 @@ endif()
|
|||
qt_standard_project_setup()
|
||||
|
||||
find_package(OpenSSL REQUIRED)
|
||||
find_package(lcms REQUIRED)
|
||||
find_package(lcms2 CONFIG REQUIRED)
|
||||
find_package(ZLIB REQUIRED)
|
||||
find_package(freetype CONFIG REQUIRED)
|
||||
find_package(Freetype REQUIRED)
|
||||
find_package(OpenJPEG CONFIG REQUIRED)
|
||||
find_package(JPEG REQUIRED)
|
||||
find_package(PNG REQUIRED)
|
||||
|
|
|
@ -156,7 +156,7 @@ target_link_libraries(Pdf4QtLibCore PRIVATE Qt6::Core Qt6::Gui Qt6::Xml Qt6::Svg
|
|||
target_link_libraries(Pdf4QtLibCore PRIVATE lcms2::lcms2)
|
||||
target_link_libraries(Pdf4QtLibCore PRIVATE OpenSSL::SSL OpenSSL::Crypto)
|
||||
target_link_libraries(Pdf4QtLibCore PRIVATE ZLIB::ZLIB)
|
||||
target_link_libraries(Pdf4QtLibCore PRIVATE freetype)
|
||||
target_link_libraries(Pdf4QtLibCore PRIVATE Freetype::Freetype)
|
||||
target_link_libraries(Pdf4QtLibCore PRIVATE openjp2)
|
||||
target_link_libraries(Pdf4QtLibCore PRIVATE JPEG::JPEG)
|
||||
|
||||
|
|
Loading…
Reference in New Issue