diff --git a/CMakeLists.txt b/CMakeLists.txt index a3773fd..42ec8c2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,6 +52,7 @@ find_package(ZLIB REQUIRED) find_package(freetype CONFIG REQUIRED) find_package(OpenJPEG CONFIG REQUIRED) find_package(JPEG REQUIRED) +find_package(PNG REQUIRED) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTOUIC ON) diff --git a/vcpkg.json b/vcpkg.json index 11bdecb..4f78962 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,5 +1,5 @@ { "name": "pdf4qt", "version-string": "1.2.2", - "dependencies": [ "openssl", "lcms", "zlib", "openjpeg", "freetype", "ijg-libjpeg" ] + "dependencies": [ "openssl", "lcms", "zlib", "openjpeg", "freetype", "ijg-libjpeg", "libpng" ] }