3 # search packages used by KDE
4 find_package(KDE4 REQUIRED)
5 find_package(Strigi REQUIRED)
8 include(MacroOptionalAddSubdirectory)
10 # are these two really required ?
11 find_package(ZLIB REQUIRED)
13 find_package(Carbon REQUIRED)
16 include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
18 if ( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/runtime )
19 add_subdirectory( runtime )
20 endif ( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/runtime )
22 if ( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/apps )
23 add_subdirectory( apps )
24 endif ( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/apps )
26 if ( Q_WS_X11 AND EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/workspace )
27 add_subdirectory( workspace )
28 endif ( Q_WS_X11 AND EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/workspace )
30 macro_display_feature_log()