kwin/plugins/kglobalaccel/CMakeLists.txt
Vlad Zahorodnii 49e0b84d84 wayland: Link statically KGlobalAccel integration plugin
Without the KGlobalAccel integration plugin, Wayland experience will be
negatively affected. Therefore it makes little sense to load it at run-
time.
2020-11-23 16:44:41 +00:00

7 lines
290 B
CMake

set(kglobalaccel_plugin_SRCS
kglobalaccel_plugin.cpp
)
add_library(KF5GlobalAccelPrivateKWin OBJECT ${kglobalaccel_plugin_SRCS})
target_compile_definitions(KF5GlobalAccelPrivateKWin PRIVATE QT_STATICPLUGIN)
target_link_libraries(KF5GlobalAccelPrivateKWin KF5::GlobalAccelPrivate kwin)