mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-27 04:13:05 +00:00
30 lines
879 B
CMake
30 lines
879 B
CMake
project(plasma-kdeobservatoryengine)
|
|
|
|
include_directories(
|
|
${CMAKE_SOURCE_DIR}
|
|
${CMAKE_BINARY_DIR}
|
|
)
|
|
|
|
set(kdeobservatory_engine_SRCS
|
|
src/kdepresets.cpp
|
|
src/kdeobservatoryengine.cpp
|
|
src/kdeobservatoryservice.cpp
|
|
)
|
|
|
|
kde4_add_plugin(plasma_engine_kdeobservatory ${kdeobservatory_engine_SRCS})
|
|
|
|
target_link_libraries(plasma_engine_kdeobservatory
|
|
${QT_QTNETWORK_LIBRARY}
|
|
${KDE4_KDECORE_LIBS}
|
|
${KDE4_KIO_LIBS}
|
|
${KDE4_SOLID_LIBS}
|
|
${KDE4_PLASMA_LIBS})
|
|
|
|
install(TARGETS plasma_engine_kdeobservatory
|
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES plasma-engine-kdeobservatory.desktop
|
|
DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|
|
|
|
install(FILES src/kdeobservatory.operations
|
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/plasma/services)
|