From f1b39840a0975e9e76dbb1e5a3fcd9001f87697a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Mon, 27 Sep 2021 13:36:54 +0200 Subject: Fix invalid call to CMake's find_library Make sure to pass also a 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 --- cmake/FindSensorfw.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') 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() -- cgit v1.2.3