cmake: build eglfs_kms_support

Change-Id: I0c1cca14756519f60f71143150e56380fa3a6289
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
Albert Astals Cid 2019-02-15 17:30:55 +01:00
parent 5f8e4b7cf0
commit b56d9916d9
2 changed files with 30 additions and 1 deletions

View File

@ -5,7 +5,7 @@ if(QT_FEATURE_egl_x11)
endif()
if(QT_FEATURE_eglfs_gbm OR QT_FEATURE_eglfs_egldevice)
# TODO add_subdirectory(eglfs_kms_support)
add_subdirectory(eglfs_kms_support)
endif()
if(QT_FEATURE_eglfs_gbm)

View File

@ -0,0 +1,29 @@
# Generated from eglfs_kms_support.pro.
find_package(Libdrm)
#####################################################################
## EglFsKmsSupport Module:
#####################################################################
add_qt_module(EglFsKmsSupport
NO_MODULE_HEADERS
SOURCES
qeglfskmsdevice.cpp qeglfskmsdevice.h
qeglfskmshelpers.h
qeglfskmsintegration.cpp qeglfskmsintegration.h
qeglfskmsscreen.cpp qeglfskmsscreen.h
DEFINES
QT_EGL_NO_X11
INCLUDE_DIRECTORIES
../../api
LIBRARIES
Qt::CorePrivate
Qt::GuiPrivate
Qt::EglFSDeviceIntegrationPrivate
Qt::KmsSupportPrivate
Qt::EdidSupportPrivate
Libdrm::Libdrm
# CONFIG = "no_module_headers" "internal_module" "egl"
# _LOADED = "qt_module"
)