2015-08-14 14:52:40 +00:00
|
|
|
set(QPA_SOURCES
|
|
|
|
backingstore.cpp
|
2019-07-01 18:33:04 +00:00
|
|
|
eglhelpers.cpp
|
2020-10-12 06:27:27 +00:00
|
|
|
eglplatformcontext.cpp
|
2015-08-14 14:52:40 +00:00
|
|
|
integration.cpp
|
|
|
|
main.cpp
|
2019-07-01 18:34:38 +00:00
|
|
|
offscreensurface.cpp
|
2016-02-17 11:42:12 +00:00
|
|
|
platformcursor.cpp
|
2015-08-14 14:52:40 +00:00
|
|
|
screen.cpp
|
|
|
|
window.cpp
|
|
|
|
)
|
|
|
|
|
2016-07-18 14:34:03 +00:00
|
|
|
include(ECMQtDeclareLoggingCategory)
|
|
|
|
ecm_qt_declare_logging_category(QPA_SOURCES HEADER logging.h IDENTIFIER KWIN_QPA CATEGORY_NAME kwin_qpa_plugin DEFAULT_SEVERITY Critical)
|
|
|
|
|
2020-11-20 14:28:47 +00:00
|
|
|
add_library(KWinQpaPlugin OBJECT ${QPA_SOURCES})
|
|
|
|
target_compile_definitions(KWinQpaPlugin PRIVATE QT_STATICPLUGIN)
|
2016-10-27 00:43:21 +00:00
|
|
|
|
2021-01-05 19:32:27 +00:00
|
|
|
target_include_directories(KWinQpaPlugin PRIVATE
|
|
|
|
${Qt5Core_PRIVATE_INCLUDE_DIRS}
|
|
|
|
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(KWinQpaPlugin PRIVATE
|
2021-01-30 16:18:21 +00:00
|
|
|
Qt::FontDatabaseSupportPrivate
|
|
|
|
Qt::ThemeSupportPrivate
|
|
|
|
Qt::EventDispatcherSupportPrivate
|
2021-01-05 19:32:27 +00:00
|
|
|
Freetype::Freetype # Must be after Qt5 platform support libs
|
2018-12-12 18:15:53 +00:00
|
|
|
Fontconfig::Fontconfig
|
2019-09-17 09:15:35 +00:00
|
|
|
kwin
|
2015-08-14 14:52:40 +00:00
|
|
|
)
|