mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-26 20:03:10 +00:00
36 lines
916 B
Text
36 lines
916 B
Text
![]() |
project(plasma-kdecommitsengine)
|
||
|
|
||
|
find_package(KDE4 REQUIRED)
|
||
|
include(KDE4Defaults)
|
||
|
|
||
|
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
|
||
|
|
||
|
include_directories(
|
||
|
${CMAKE_SOURCE_DIR}
|
||
|
${CMAKE_BINARY_DIR}
|
||
|
${KDE4_INCLUDES}
|
||
|
)
|
||
|
|
||
|
set(kdecommits_engine_SRCS
|
||
|
src/kdepresets.cpp
|
||
|
src/kdecommitsengine.cpp
|
||
|
src/kdecommitsservice.cpp
|
||
|
)
|
||
|
|
||
|
kde4_add_plugin(plasma_engine_kdecommits ${kdecommits_engine_SRCS})
|
||
|
|
||
|
target_link_libraries(plasma_engine_kdecommits
|
||
|
${QT_QTNETWORK_LIBRARY}
|
||
|
${KDE4_KDECORE_LIBS}
|
||
|
${KDE4_KIO_LIBS}
|
||
|
${KDE4_PLASMA_LIBS})
|
||
|
|
||
|
install(TARGETS plasma_engine_kdecommits
|
||
|
DESTINATION ${PLUGIN_INSTALL_DIR})
|
||
|
|
||
|
install(FILES plasma-engine-kdecommits.desktop
|
||
|
DESTINATION ${SERVICES_INSTALL_DIR})
|
||
|
|
||
|
install(FILES src/kdecommits.operations
|
||
|
DESTINATION ${DATA_INSTALL_DIR}/plasma/services)
|