summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-02-23 12:29:08 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2022-02-28 23:08:20 +0100
commit34a4fe01663c3d8b193e42c6609e75c431f8a897 (patch)
tree6c0c8cf06157fafecfe5270b34e7b5e69873e193 /util
parent0ada264dda533cd3be2699330a5c1e2dd27a0e6a (diff)
downloadqtbase-34a4fe01663c3d8b193e42c6609e75c431f8a897.tar.gz
CMake: Rename FindZSTD to FindWrapZSTD
And the target ZSTD::ZSTD to WrapZSTD::WrapZSTD. This should allow building Qt with the -DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON set. Pick-to: 6.2 6.3 Fixes: QTBUG-100537 Change-Id: I748601e4ad6f518323bf1034d6fc1de582c815e1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'util')
-rw-r--r--util/cmake/helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cmake/helper.py b/util/cmake/helper.py
index 2524a3ef7f..e924e272bb 100644
--- a/util/cmake/helper.py
+++ b/util/cmake/helper.py
@@ -642,7 +642,7 @@ _library_map = [
LibraryMapping("xlib", "X11", "X11::X11"),
LibraryMapping("xrender", "XRender", "PkgConfig::XRender", extra=["0.6"]),
LibraryMapping("zlib", "WrapZLIB", "WrapZLIB::WrapZLIB", extra=["1.0.8"]),
- LibraryMapping("zstd", "ZSTD", "ZSTD::ZSTD", extra=["1.3"]),
+ LibraryMapping("zstd", "WrapZSTD", "WrapZSTD::WrapZSTD", extra=["1.3"]),
LibraryMapping("tiff", "TIFF", "TIFF::TIFF"),
LibraryMapping("webp", "WrapWebP", "WrapWebP::WrapWebP"),
LibraryMapping("jasper", "WrapJasper", "WrapJasper::WrapJasper"),