summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2021-05-19 16:57:05 +0200
committerAlexey Edelev <alexey.edelev@qt.io>2021-05-22 13:35:07 +0200
commit49c8b2584e06f689877211d10a3b3c981bad2c6c (patch)
tree496cedd3a00110b58364d75c7df43813d4b51a73 /src
parentba3eee372ec978b68042fb98f8c09429edad8959 (diff)
downloadqtimageformats-49c8b2584e06f689877211d10a3b3c981bad2c6c.tar.gz
Use correct name of the internal Zlib module
Zlib is renamed in Qt to ZlibPrivate according to the internal module naming policy. Change-Id: I7b10cefb49dbf4320c91016a05011978ceee01d2 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/imageformats/tiff/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/imageformats/tiff/CMakeLists.txt b/src/plugins/imageformats/tiff/CMakeLists.txt
index 135eb64..acf81f7 100644
--- a/src/plugins/imageformats/tiff/CMakeLists.txt
+++ b/src/plugins/imageformats/tiff/CMakeLists.txt
@@ -7,7 +7,7 @@
# special case begin
# Handle the conditional finding of either system zlib or qt zlib.
if(NOT QT_FEATURE_system_zlib)
- find_package(Qt6 COMPONENTS Zlib)
+ find_package(Qt6 COMPONENTS ZlibPrivate)
elseif(NOT TARGET WrapZLIB::WrapZLIB)
qt_find_package(WrapZLIB PROVIDED_TARGETS WrapZLIB::WrapZLIB)
endif()