summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-04-14 15:56:29 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2021-04-22 14:07:04 +0200
commit08bcf061e10adcdd9abf6df702ca76d9475d143c (patch)
tree829238a0e636499516c60aace4c6593c73695f61 /src
parent4526f45a41d9c0eedadd68cf363fae27a9951019 (diff)
downloadqtimageformats-08bcf061e10adcdd9abf6df702ca76d9475d143c.tar.gz
CMake: Adapt to new WrapZLIB package
Pick-to: 6.1 Change-Id: I9b43b627c834a4eead2f02ee273ccadd92d69fa0 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/imageformats/tiff/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/imageformats/tiff/CMakeLists.txt b/src/plugins/imageformats/tiff/CMakeLists.txt
index a5cd211..135eb64 100644
--- a/src/plugins/imageformats/tiff/CMakeLists.txt
+++ b/src/plugins/imageformats/tiff/CMakeLists.txt
@@ -8,8 +8,8 @@
# Handle the conditional finding of either system zlib or qt zlib.
if(NOT QT_FEATURE_system_zlib)
find_package(Qt6 COMPONENTS Zlib)
-elseif(NOT TARGET ZLIB::ZLIB)
- qt_find_package(ZLIB PROVIDED_TARGETS ZLIB::ZLIB)
+elseif(NOT TARGET WrapZLIB::WrapZLIB)
+ qt_find_package(WrapZLIB PROVIDED_TARGETS WrapZLIB::WrapZLIB)
endif()
# special case end
@@ -93,7 +93,7 @@ qt_internal_extend_target(QTiffPlugin CONDITION ANDROID AND NOT QT_FEATURE_syste
qt_internal_extend_target(QTiffPlugin CONDITION QT_FEATURE_system_zlib AND NOT QT_FEATURE_system_tiff
LIBRARIES
- ZLIB::ZLIB
+ WrapZLIB::WrapZLIB
)
qt_internal_extend_target(QTiffPlugin CONDITION NOT QT_FEATURE_system_tiff AND NOT QT_FEATURE_system_zlib