diff options
Diffstat (limited to 'cmake/FindSensorfw.cmake')
-rw-r--r-- | cmake/FindSensorfw.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmake/FindSensorfw.cmake b/cmake/FindSensorfw.cmake index 6b7ee507..c6238a92 100644 --- a/cmake/FindSensorfw.cmake +++ b/cmake/FindSensorfw.cmake @@ -1,3 +1,6 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: BSD-3-Clause + find_package(PkgConfig) if (PKG_CONFIG_FOUND) pkg_check_modules(Sensorfw sensord-qt5 IMPORTED_TARGET) @@ -6,5 +9,5 @@ if (PKG_CONFIG_FOUND) endif() else() message("Sensorfw pkg not found. Looking for library") - find_library(sensorfw) + find_library(Sensorfw sensorfw) endif() |