From 391ceb1d76cf414bc474a4e931232bc078701f54 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Mon, 11 Feb 2019 15:17:40 +0100 Subject: cmake: build libinput plugin Change-Id: If263e6fa212f5349ad5e75252ff77ce0c92c5b75 Reviewed-by: Liang Qi --- src/plugins/generic/CMakeLists.txt | 2 +- src/plugins/generic/libinput/CMakeLists.txt | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 src/plugins/generic/libinput/CMakeLists.txt diff --git a/src/plugins/generic/CMakeLists.txt b/src/plugins/generic/CMakeLists.txt index 011d226ad2..616e940693 100644 --- a/src/plugins/generic/CMakeLists.txt +++ b/src/plugins/generic/CMakeLists.txt @@ -18,7 +18,7 @@ if(QT_FEATURE_tuiotouch) endif() if(QT_FEATURE_libinput) -# TODO add_subdirectory(libinput) + add_subdirectory(libinput) endif() if(FREEBSD) diff --git a/src/plugins/generic/libinput/CMakeLists.txt b/src/plugins/generic/libinput/CMakeLists.txt new file mode 100644 index 0000000000..e83029d867 --- /dev/null +++ b/src/plugins/generic/libinput/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from libinput.pro. + +##################################################################### +## qlibinputplugin Plugin: +##################################################################### + +add_qt_plugin(qlibinputplugin + TYPE generic + SOURCES + main.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::InputSupportPrivate + # OTHER_FILES = "libinput.json" + # PLUGIN_CLASS_NAME = "QLibInputPlugin" + # PLUGIN_EXTENDS = "-" + # _LOADED = "qt_plugin" +) -- cgit v1.2.3