mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 10:52:51 +00:00
39 lines
822 B
CMake
39 lines
822 B
CMake
set(plasmaclock_LIB_SRCS
|
|
clockapplet.cpp
|
|
calendar.cpp
|
|
calendartable.cpp
|
|
wheelytoolbutton.cpp
|
|
timezonesConfig.ui
|
|
generalConfig.ui
|
|
calendarConfig.ui
|
|
)
|
|
|
|
add_library(plasmaclock SHARED ${plasmaclock_LIB_SRCS})
|
|
|
|
target_link_libraries(plasmaclock
|
|
${KDE4_PLASMA_LIBS}
|
|
${KDE4_KDEUI_LIBS}
|
|
${KDE4_KIO_LIBS}
|
|
)
|
|
|
|
set_target_properties(plasmaclock PROPERTIES
|
|
VERSION ${GENERIC_LIB_VERSION}
|
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
|
)
|
|
|
|
generate_export_header(plasmaclock)
|
|
|
|
#clockapplet.h
|
|
install(
|
|
FILES
|
|
clockapplet.h
|
|
calendar.h
|
|
calendartable.h
|
|
${CMAKE_CURRENT_BINARY_DIR}/plasmaclock_export.h
|
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/plasmaclock
|
|
COMPONENT Devel
|
|
)
|
|
install(
|
|
TARGETS plasmaclock
|
|
EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS}
|
|
)
|