3 set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules )
5 # search packages used by KDE
6 find_package(KDE4 REQUIRED)
7 find_package(KdepimLibs REQUIRED)
10 include(MacroOptionalAddSubdirectory)
12 # is this really required here ?
14 find_package(Carbon REQUIRED)
18 add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
19 include_directories (${QDBUS_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
22 macro_optional_add_subdirectory(doc)
23 #macro_optional_add_subdirectory(kdat)
24 macro_optional_add_subdirectory(strigi-analyzer)
26 macro_optional_add_subdirectory(kuser)
27 macro_optional_add_subdirectory(kcron)
28 macro_optional_add_subdirectory(ksystemlog)
31 #macro_optional_add_subdirectory(ksysv)
33 macro_optional_add_subdirectory(kpackage)
34 macro_optional_add_subdirectory(lilo-config)
35 macro_optional_add_subdirectory(knetworkconf)
37 MESSAGE(STATUS "readd kdat-ksysv when porting")
39 macro_display_feature_log()