Changeset View
Changeset View
Standalone View
Standalone View
plugins/qpa/CMakeLists.txt
1 | include_directories(${Qt5Core_PRIVATE_INCLUDE_DIRS}) | 1 | include_directories(${Qt5Core_PRIVATE_INCLUDE_DIRS}) | ||
---|---|---|---|---|---|
2 | include_directories(${Qt5Gui_PRIVATE_INCLUDE_DIRS}) | 2 | include_directories(${Qt5Gui_PRIVATE_INCLUDE_DIRS}) | ||
3 | 3 | | |||
4 | set(QPA_SOURCES | 4 | set(QPA_SOURCES | ||
5 | abstractplatformcontext.cpp | 5 | abstractplatformcontext.cpp | ||
6 | backingstore.cpp | 6 | backingstore.cpp | ||
7 | integration.cpp | 7 | integration.cpp | ||
8 | main.cpp | 8 | main.cpp | ||
9 | nativeinterface.cpp | 9 | nativeinterface.cpp | ||
10 | platformcontextwayland.cpp | | |||
11 | platformcursor.cpp | 10 | platformcursor.cpp | ||
12 | screen.cpp | 11 | screen.cpp | ||
13 | sharingplatformcontext.cpp | 12 | sharingplatformcontext.cpp | ||
14 | window.cpp | 13 | window.cpp | ||
15 | ) | 14 | ) | ||
16 | 15 | | |||
17 | include(ECMQtDeclareLoggingCategory) | 16 | include(ECMQtDeclareLoggingCategory) | ||
18 | ecm_qt_declare_logging_category(QPA_SOURCES HEADER logging.h IDENTIFIER KWIN_QPA CATEGORY_NAME kwin_qpa_plugin DEFAULT_SEVERITY Critical) | 17 | ecm_qt_declare_logging_category(QPA_SOURCES HEADER logging.h IDENTIFIER KWIN_QPA CATEGORY_NAME kwin_qpa_plugin DEFAULT_SEVERITY Critical) | ||
Show All 10 Lines | |||||
29 | target_link_libraries(KWinQpaPlugin | 28 | target_link_libraries(KWinQpaPlugin | ||
30 | kwin | 29 | kwin | ||
31 | KF5::WaylandClient | 30 | KF5::WaylandClient | ||
32 | ${QT5PLATFORMSUPPORT_LIBS} | 31 | ${QT5PLATFORMSUPPORT_LIBS} | ||
33 | Fontconfig::Fontconfig | 32 | Fontconfig::Fontconfig | ||
34 | ${FREETYPE_LIBRARIES} | 33 | ${FREETYPE_LIBRARIES} | ||
35 | ) | 34 | ) | ||
36 | 35 | | |||
37 | if(HAVE_WAYLAND_EGL) | | |||
38 | target_link_libraries(KWinQpaPlugin Wayland::Egl) | | |||
39 | endif() | | |||
40 | | ||||
41 | install( | 36 | install( | ||
42 | TARGETS | 37 | TARGETS | ||
43 | KWinQpaPlugin | 38 | KWinQpaPlugin | ||
44 | DESTINATION | 39 | DESTINATION | ||
45 | ${PLUGIN_INSTALL_DIR}/platforms/ | 40 | ${PLUGIN_INSTALL_DIR}/platforms/ | ||
46 | ) | 41 | ) |