summaryrefslogtreecommitdiffstats
path: root/util
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 /util
parentbb2ae3e409acd88877ddf3d19054a0842404b568 (diff)
Find mtdev and use it
Change-Id: I90db48efaa6a23add770fcf69b46c4f4c84866c1 Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'util')
-rwxr-xr-xutil/cmake/configurejson2cmake.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py
index 4bfe023c2a..870c56d4d6 100755
--- a/util/cmake/configurejson2cmake.py
+++ b/util/cmake/configurejson2cmake.py
@@ -73,6 +73,7 @@ def map_library(lib: str) -> Union[str, LibraryMapping, List[str]]:
'librt': 'WrapRt',
'libudev': 'Libudev',
'lttng-ust': LibraryMapping(package='LTTngUST', resultVariable="LTTNGUST"),
+ 'mtdev': 'Mtdev',
'opengl': LibraryMapping(package="OpenGL", resultVariable="OpenGL_OpenGL"),
'openssl': 'OpenSSL',
'openssl_headers': LibraryMapping(package="OpenSSL", resultVariable="OPENSSL_INCLUDE_DIR", appendFoundSuffix=False),