not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / kcontrol / CMakeLists.txt
blobab123a600e7c02480b063e2ea5c4b06f75ae2507
1 macro_optional_find_package(Freetype)
2 macro_log_feature(FREETYPE_FOUND "FreeType" "A font rendering engine" "http://www.freetype.org" FALSE "" "Needed to build kfontinst, a simple font installer.")
5 set(libkxftconfig_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/fonts/kxftconfig.cpp )
8 if( X11_Xrandr_FOUND )
9    add_subdirectory( randr )
10 endif(X11_Xrandr_FOUND )
12 if(X11_Xkb_FOUND)
13     add_subdirectory( kxkb )
14     add_subdirectory( keyboard )
15 endif(X11_Xkb_FOUND)
17 if(NOT WIN32)
18 add_subdirectory( bell )
19 add_subdirectory( input )
20 add_subdirectory( kdm )
21 add_subdirectory( energy )
22 add_subdirectory( access )
23 add_subdirectory( screensaver )
24 add_subdirectory( dateandtime )
25 add_subdirectory( autostart )
26 endif(NOT WIN32)
28 add_subdirectory( launch )
29 add_subdirectory( colors )
30 add_subdirectory( krdb )
31 add_subdirectory( style )
32 add_subdirectory( standard_actions )
33 add_subdirectory( keys )
34 if(X11_Xinerama_FOUND)
35         add_subdirectory( xinerama )
36 endif(X11_Xinerama_FOUND)
38 #TODO needs porting to what changed in KDE4 + please also rethink if it's really needed/useful to provide a duplicated nav-hierachy for colors, fonts, etc. - thx :)
39 #add_subdirectory( kthememanager )
41 add_subdirectory( hardware )
43 if(FONTCONFIG_FOUND AND FREETYPE_FOUND AND NOT WIN32)
44     add_subdirectory( fonts )
45     add_subdirectory( kfontinst )
46 endif(FONTCONFIG_FOUND AND FREETYPE_FOUND AND NOT WIN32)
48 message(STATUS "${CMAKE_CURRENT_SOURCE_DIR}: skipped subdir $(KSMCARD_SUBDIR)")