From df17678ab13020f2e07e9ee7fc504ee2976a3ada Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Fri, 15 Feb 2019 17:38:17 +0100 Subject: [PATCH] cmake: build eglfs_kms_egldevice Change-Id: Ib224140d64efdc9c7190add7b568484313ecd7a3 Reviewed-by: Simon Hausmann --- .../eglfs/deviceintegration/CMakeLists.txt | 2 +- .../eglfs_kms_egldevice/CMakeLists.txt | 34 +++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_egldevice/CMakeLists.txt diff --git a/src/plugins/platforms/eglfs/deviceintegration/CMakeLists.txt b/src/plugins/platforms/eglfs/deviceintegration/CMakeLists.txt index d9eed88717..59c16a3bcf 100644 --- a/src/plugins/platforms/eglfs/deviceintegration/CMakeLists.txt +++ b/src/plugins/platforms/eglfs/deviceintegration/CMakeLists.txt @@ -13,7 +13,7 @@ if(QT_FEATURE_eglfs_gbm) endif() if(QT_FEATURE_eglfs_egldevice) -# TODO add_subdirectory(eglfs_kms_egldevice) + add_subdirectory(eglfs_kms_egldevice) endif() if(QT_FEATURE_eglfs_vsp2) diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_egldevice/CMakeLists.txt b/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_egldevice/CMakeLists.txt new file mode 100644 index 0000000000..9dc5d84523 --- /dev/null +++ b/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_egldevice/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from eglfs_kms_egldevice.pro. + +find_package(Libdrm) + +##################################################################### +## qeglfs-kms-egldevice-integration Plugin: +##################################################################### + +add_qt_plugin(qeglfs-kms-egldevice-integration + TYPE egldeviceintegrations + SOURCES + qeglfskmsegldevice.cpp qeglfskmsegldevice.h + qeglfskmsegldeviceintegration.cpp qeglfskmsegldeviceintegration.h + qeglfskmsegldevicemain.cpp + qeglfskmsegldevicescreen.cpp qeglfskmsegldevicescreen.h + DEFINES + QT_EGL_NO_X11 + INCLUDE_DIRECTORIES + ../../api + ../eglfs_kms_support + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::EglFSDeviceIntegrationPrivate + Qt::EglFsKmsSupportPrivate + Qt::KmsSupportPrivate + Qt::EdidSupportPrivate + Qt::PlatformCompositorSupportPrivate + Libdrm::Libdrm + # CONFIG = "egl" + # OTHER_FILES = "$$PWD/eglfs_kms_egldevice.json" + # PLUGIN_CLASS_NAME = "QEglFSKmsEglDeviceIntegrationPlugin" + # _LOADED = "qt_plugin" +)