2 include_directories( ${KDE4_KDEUI_INCLUDES} ${KDE4_KPARTS_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR})
4 set(ksettings_STAT_SRCS
5 ksettings/dispatcher.cpp
7 ksettings/pluginpage.cpp
8 ksettings/componentsdialog.cpp
11 ksettings/dispatcher.h
13 ksettings/pluginpage.h
14 DESTINATION ${INCLUDE_INSTALL_DIR}/ksettings )
16 ########### kemoticons ################
17 add_subdirectory(kemoticons)
19 set(kemoticons_LIB_SRCS
20 kemoticons/kemoticons.cpp
21 kemoticons/kemoticonstheme.cpp
22 kemoticons/kemoticonsprovider.cpp
25 install(FILES kemoticons/kemoticonsTheme.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR})
28 kemoticons/kemoticons.h
29 kemoticons/kemoticonstheme.h
30 kemoticons/kemoticonsprovider.h
31 DESTINATION ${INCLUDE_INSTALL_DIR}
34 ########### next target ###############
43 ksettingswidgetadaptor.cpp
45 ${ksettings_STAT_SRCS}
46 ${kemoticons_LIB_SRCS}
50 kde4_add_library(kutils SHARED ${kutils_LIB_SRCS})
52 target_link_libraries(kutils ${KDE4_KDEUI_LIBS} ${KDE4_KPARTS_LIBS} )
53 target_link_libraries(kutils LINK_INTERFACE_LIBRARIES kdecore kdeui ${QT_QTGUI_LIBRARY} )
55 set_target_properties(kutils PROPERTIES
56 VERSION ${GENERIC_LIB_VERSION}
57 SOVERSION ${GENERIC_LIB_SOVERSION}
59 install(TARGETS kutils EXPORT kdelibsLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
61 ########### install files ###############
72 DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel)