[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)
committerDmitry Shachnev <mitya57@debian.org>
Sun, 22 Sep 2024 19:08:16 +0000 (22:08 +0300)
commit6fad99477e5a2261e1f6042eea7cbacd049f64e9
tree33c8e8818db8e2fa819bf0571fb5a6a917df3b4e
parent8975b64fd84261c88a5a1b62efb04db3ac313d3b
[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