You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
713 B
27 lines
713 B
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/../../) |
|
|
|
set(mouse_engine_SRCS |
|
mouseengine.cpp |
|
mouseengine.h |
|
) |
|
|
|
if (HAVE_X11) |
|
set(mouse_engine_SRCS ${mouse_engine_SRCS} cursornotificationhandler.cpp) |
|
endif () |
|
|
|
kcoreaddons_add_plugin(plasma_engine_mouse SOURCES ${mouse_engine_SRCS} INSTALL_NAMESPACE plasma/dataengine) |
|
target_link_libraries(plasma_engine_mouse |
|
Qt::Widgets |
|
KF5::Plasma |
|
KF5::WindowSystem |
|
) |
|
|
|
if (HAVE_X11) |
|
if (QT_MAJOR_VERSION EQUAL "5") |
|
target_link_libraries(plasma_engine_mouse Qt::X11Extras) |
|
else() |
|
target_link_libraries(plasma_engine_mouse Qt::GuiPrivate) |
|
endif() |
|
|
|
target_link_libraries(plasma_engine_mouse X11::X11 X11::Xfixes) |
|
endif ()
|
|
|