3 set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules )
5 # search packages used by KDE
6 find_package(KDE4 REQUIRED)
9 include(MacroOptionalAddSubdirectory)
11 # are these one really required here ?
13 find_package(Carbon REQUIRED)
16 macro_optional_find_package(Xscreensaver)
18 add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS} )
19 include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
22 macro_optional_add_subdirectory(IconThemes)
23 macro_optional_add_subdirectory(emoticons)
25 macro_optional_add_subdirectory(kscreensaver)
26 MESSAGE(STATUS "Remember to readd kwin-style when ported")
27 #macro_optional_add_subdirectory(kwin-styles)
28 macro_optional_add_subdirectory(icewm-themes)
31 macro_optional_add_subdirectory(kworldclock)
32 macro_optional_add_subdirectory(sounds)
33 macro_optional_add_subdirectory(styles)
34 macro_optional_add_subdirectory(wallpapers)
35 add_subdirectory( cmake )