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