5c9d3a9d42
Solves the need of compiling device.cpp against all plugins. Also networkpackage and others don't need to either. REVIEW: 118742
10 lines
359 B
CMake
10 lines
359 B
CMake
set(kdeconnect_clipboard_SRCS
|
|
clipboardplugin.cpp
|
|
)
|
|
|
|
kde4_add_plugin(kdeconnect_clipboard ${kdeconnect_clipboard_SRCS})
|
|
|
|
target_link_libraries(kdeconnect_clipboard kdeconnectcore ${QT_QTGUI_LIBRARY})
|
|
|
|
install(TARGETS kdeconnect_clipboard DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
install(FILES kdeconnect_clipboard.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|