Fix invalid call to CMake's find_library
Make sure to pass also a <VAR> to find_library. This fixes a configure
failure on Linux without pkg-config; the result of the search is
currently ignored, anyhow.
Pick-to: 6.2
Fixes: QTBUG-96914
Change-Id: Ic11610ca38173e0b8ed2fde7f9c707c6e0d77ac1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
| commit | f1b39840a0975e9e76dbb1e5a3fcd9001f87697a |
| parent | 90ce5d48876eafe8b81b49a7f927f050b6faafe8 |
| author | Kai Köhne <kai.koehne@qt.io> |
| committer | Kai Koehne <kai.koehne@qt.io> |
| commit time | Mon, 27 Sep 2021 12:58:34 +0000 |