Changeset View
Changeset View
Standalone View
Standalone View
plugins/qpa/CMakeLists.txt
Show All 15 Lines | |||||
16 | 16 | | |||
17 | include(ECMQtDeclareLoggingCategory) | 17 | include(ECMQtDeclareLoggingCategory) | ||
18 | ecm_qt_declare_logging_category(QPA_SOURCES HEADER logging.h IDENTIFIER KWIN_QPA CATEGORY_NAME kwin_qpa_plugin DEFAULT_SEVERITY Critical) | 18 | ecm_qt_declare_logging_category(QPA_SOURCES HEADER logging.h IDENTIFIER KWIN_QPA CATEGORY_NAME kwin_qpa_plugin DEFAULT_SEVERITY Critical) | ||
19 | 19 | | |||
20 | add_library(KWinQpaPlugin MODULE ${QPA_SOURCES}) | 20 | add_library(KWinQpaPlugin MODULE ${QPA_SOURCES}) | ||
21 | set_target_properties(KWinQpaPlugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/platforms/") | 21 | set_target_properties(KWinQpaPlugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/platforms/") | ||
22 | 22 | | |||
23 | set(QT5PLATFORMSUPPORT_LIBS | 23 | set(QT5PLATFORMSUPPORT_LIBS | ||
24 | Qt5FontDatabaseSupport::Qt5FontDatabaseSupport | 24 | Qt5::FontDatabaseSupportPrivate | ||
25 | Qt5ThemeSupport::Qt5ThemeSupport | 25 | Qt5::ThemeSupportPrivate | ||
26 | Qt5EventDispatcherSupport::Qt5EventDispatcherSupport | 26 | Qt5::EventDispatcherSupportPrivate | ||
27 | ) | 27 | ) | ||
28 | 28 | | |||
29 | target_link_libraries(KWinQpaPlugin | 29 | target_link_libraries(KWinQpaPlugin | ||
30 | ${QT5PLATFORMSUPPORT_LIBS} | 30 | ${QT5PLATFORMSUPPORT_LIBS} | ||
31 | ${FREETYPE_LIBRARIES} # Must be after QT5PLATFORMSUPPORT_LIBS | 31 | ${FREETYPE_LIBRARIES} # Must be after QT5PLATFORMSUPPORT_LIBS | ||
32 | Fontconfig::Fontconfig | 32 | Fontconfig::Fontconfig | ||
33 | kwin | 33 | kwin | ||
34 | ) | 34 | ) | ||
35 | 35 | | |||
36 | install( | 36 | install( | ||
37 | TARGETS | 37 | TARGETS | ||
38 | KWinQpaPlugin | 38 | KWinQpaPlugin | ||
39 | DESTINATION | 39 | DESTINATION | ||
40 | ${PLUGIN_INSTALL_DIR}/platforms/ | 40 | ${PLUGIN_INSTALL_DIR}/platforms/ | ||
41 | ) | 41 | ) |