kde-workspace/libs/plasmaclock/CMakeLists.txt
Ivailo Monev 27fc8002d6 generic: use the new kspeech library for Text-To-Speech
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-29 15:23:32 +03:00

40 lines
847 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}
${KDE4_KSPEECH_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}
)