summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals.cid@kdab.com>2019-02-11 15:47:04 +0100
committerAlbert Astals Cid <albert.astals.cid@kdab.com>2019-02-11 17:16:17 +0000
commitf18db41f8586e60460649b4032cc8b6c01700441 (patch)
treef4fab3d90a502407dc7847d4298e44aff4b13ca0 /cmake
parent93564b3f8be7506dbd9941ebc4fbdbf575f4beb4 (diff)
cmake: Find tslib and build the tslib plugin if found
Change-Id: I7119ddf473a3ede29bbfef23cffb08a4fcbd5681 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindTslib.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/FindTslib.cmake b/cmake/FindTslib.cmake
new file mode 100644
index 0000000000..979291a5f6
--- /dev/null
+++ b/cmake/FindTslib.cmake
@@ -0,0 +1,3 @@
+find_package(PkgConfig)
+
+pkg_check_modules(Tslib tslib IMPORTED_TARGET)