summaryrefslogtreecommitdiffstats
path: root/cmake/FindTslib.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindTslib.cmake')
-rw-r--r--cmake/FindTslib.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmake/FindTslib.cmake b/cmake/FindTslib.cmake
index 01579071b3..f5243dfa7f 100644
--- a/cmake/FindTslib.cmake
+++ b/cmake/FindTslib.cmake
@@ -1,6 +1,9 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
find_package(PkgConfig QUIET)
-pkg_check_modules(Tslib tslib IMPORTED_TARGET)
+pkg_check_modules(Tslib IMPORTED_TARGET "tslib")
if (NOT TARGET PkgConfig::Tslib)
set(Tslib_FOUND 0)