mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-25 03:12:51 +00:00
19 lines
662 B
CMake
19 lines
662 B
CMake
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/../../)
|
|
|
|
set(mouse_engine_SRCS
|
|
mouseengine.cpp
|
|
)
|
|
|
|
if (X11_Xfixes_FOUND)
|
|
set(mouse_engine_SRCS ${mouse_engine_SRCS} cursornotificationhandler.cpp)
|
|
endif (X11_Xfixes_FOUND)
|
|
|
|
kde4_add_plugin(plasma_engine_mouse ${mouse_engine_SRCS})
|
|
target_link_libraries(plasma_engine_mouse ${KDE4_KDEUI_LIBS} ${KDE4_PLASMA_LIBS} ${X11_LIBRARIES})
|
|
if (X11_Xfixes_FOUND)
|
|
target_link_libraries(plasma_engine_mouse ${X11_Xfixes_LIB})
|
|
endif (X11_Xfixes_FOUND)
|
|
|
|
install(TARGETS plasma_engine_mouse DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
|
install(FILES plasma-dataengine-mouse.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR} )
|
|
|