[PATCH] Prefer using the non-suffixed libzstd over static one
authorAlexey Edelev <alexey.edelev@qt.io>
Mon, 27 May 2024 09:09:05 +0000 (11:09 +0200)
committerPino Toscano <pino@debian.org>
Tue, 16 Jul 2024 19:53:21 +0000 (21:53 +0200)
commit66b824bae32306d964fbcada12e2d4b514ca91af
tree38c4d35e8722e4a7557c95dcf63551d74cc72dd3
parent626c7e8974fcb44eb6b253c1887344a93eae9920
[PATCH] Prefer using the non-suffixed libzstd over static one

Recent zstd versions provide the libstd target but not only libzstd_shared
or libzstd_static. Attempt to use it as the WrapZSTD::WrapZSTD counterpart
if the target exists.

Task-number: QTBUG-119469
Change-Id: I47916bfa6f10883d099184a497800277c8026b14
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Gbp-Pq: Name upstream_Prefer-using-the-non-suffixed-libzstd-over-static-on.patch
cmake/FindWrapZSTD.cmake