summaryrefslogtreecommitdiffstats
path: root/cmake/FindMtdev.cmake
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals.cid@kdab.com>2019-02-12 10:47:12 +0100
committerAlbert Astals Cid <albert.astals.cid@kdab.com>2019-02-12 13:35:07 +0000
commit05aeaed906cbec3654178d1438ae2ad361a35ddd (patch)
tree0a428ed50fb9b7d1317cff62b06465226f861324 /cmake/FindMtdev.cmake
parentbb2ae3e409acd88877ddf3d19054a0842404b568 (diff)
Find mtdev and use it
Change-Id: I90db48efaa6a23add770fcf69b46c4f4c84866c1 Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'cmake/FindMtdev.cmake')
-rw-r--r--cmake/FindMtdev.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/FindMtdev.cmake b/cmake/FindMtdev.cmake
new file mode 100644
index 0000000000..39d9823207
--- /dev/null
+++ b/cmake/FindMtdev.cmake
@@ -0,0 +1,3 @@
+find_package(PkgConfig)
+
+pkg_check_modules(Mtdev mtdev IMPORTED_TARGET)