kde-workspace/libs/plasmaclock/CMakeLists.txt

29 lines
849 B
Text
Raw Normal View History

include_directories(${CMAKE_SOURCE_DIR}/libs/kephal)
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}
kephal)
set_target_properties(plasmaclock PROPERTIES VERSION ${GENERIC_LIB_VERSION}
SOVERSION ${GENERIC_LIB_SOVERSION} )
#clockapplet.h
install(FILES clockapplet.h calendar.h calendartable.h plasmaclock_export.h
DESTINATION ${INCLUDE_INSTALL_DIR}/plasmaclock COMPONENT Devel)
install(TARGETS plasmaclock EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})