diff options
author | Kai Köhne <kai.koehne@qt.io> | 2021-09-27 13:36:54 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2021-09-27 12:58:34 +0000 |
commit | f1b39840a0975e9e76dbb1e5a3fcd9001f87697a (patch) | |
tree | 7e919c49b6324afeed34b9a0c72713a2e5d56ac7 /cmake | |
parent | 90ce5d48876eafe8b81b49a7f927f050b6faafe8 (diff) |
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>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindSensorfw.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindSensorfw.cmake b/cmake/FindSensorfw.cmake index 6b7ee507..22f3ee1f 100644 --- a/cmake/FindSensorfw.cmake +++ b/cmake/FindSensorfw.cmake @@ -6,5 +6,5 @@ if (PKG_CONFIG_FOUND) endif() else() message("Sensorfw pkg not found. Looking for library") - find_library(sensorfw) + find_library(Sensorfw sensorfw) endif() |