kde-workspace/libs/plasmaclock/CMakeLists.txt

34 lines
741 B
Text
Raw Normal View History

2014-11-13 19:30:51 +02:00
set(plasmaclock_LIB_SRCS
clockapplet.cpp
calendar.cpp
calendartable.cpp
wheelytoolbutton.cpp
2015-09-01 04:37:19 +03:00
timezonesConfig.ui
generalConfig.ui
calendarConfig.ui
2014-11-13 19:30:51 +02:00
)
2015-09-01 04:37:19 +03:00
add_library(plasmaclock SHARED ${plasmaclock_LIB_SRCS})
2014-11-13 19:30:51 +02:00
target_link_libraries(plasmaclock
${KDE4_PLASMA_LIBS}
${KDE4_KDEUI_LIBS}
${KDE4_KIO_LIBS}
)
2014-11-13 19:30:51 +02:00
set_target_properties(plasmaclock PROPERTIES
VERSION ${GENERIC_LIB_VERSION}
SOVERSION ${GENERIC_LIB_SOVERSION}
)
2014-11-13 19:30:51 +02:00
#clockapplet.h
install(
FILES clockapplet.h calendar.h calendartable.h plasmaclock_export.h
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/plasmaclock
COMPONENT Devel
)
install(
TARGETS plasmaclock
EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS}
)