2 add_definitions( -DKDE_DEFAULT_DEBUG_AREA=1208 )
4 add_subdirectory( about )
6 add_subdirectory( solidproc )
8 add_subdirectory( info )
10 add_subdirectory( nics )
11 add_subdirectory( usbview )
12 add_subdirectory( memory )
14 add_subdirectory( partition )
17 add_subdirectory( samba )
20 add_subdirectory( ioslaveinfo )
22 macro_optional_find_package(OpenGL)
23 macro_log_feature(OPENGL_FOUND "OpenGL" "API for developing portable, interactive 2D and 3D graphics applications" "http://mesa3d.sourceforge.net" FALSE "" "View OpenGL details in kinfocenter.")
25 if(OPENGL_FOUND AND OPENGL_GLU_FOUND)
26 add_subdirectory( opengl )
27 else(OPENGL_FOUND AND OPENGL_GLU_FOUND)
28 MESSAGE(STATUS "OpenGL information module has been disabled.")
29 endif(OPENGL_FOUND AND OPENGL_GLU_FOUND)
32 macro_optional_find_package(PCIUTILS)
33 macro_log_feature(PCIUTILS_FOUND "PCIUTILS" "PciUtils is a library for direct access to PCI slots" "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml" FALSE "" "View PCI details in kinfocenter.")
36 add_subdirectory( pci )
39 macro_optional_find_package(RAW1394)
40 macro_log_feature(RAW1394_FOUND "RAW1394" "library for direct access to IEEE 1394 bus" "http://www.linux1394.org/" FALSE "" "View FireWire devices in kinfocenter.")
43 add_subdirectory( view1394 )
58 kde4_add_kdeinit_executable( kinfocenter ${kinfocenter_SRCS})
60 target_link_libraries(kdeinit_kinfocenter ${KDE4_KIO_LIBS} ${KDE4_KHTML_LIBS} ${KDE4_KUTILS_LIBS} )
62 install(TARGETS kdeinit_kinfocenter ${INSTALL_TARGETS_DEFAULT_ARGS})
63 install(TARGETS kinfocenter ${INSTALL_TARGETS_DEFAULT_ARGS})
65 ########### install files ###############
67 install( FILES kinfocenter.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
68 install( FILES kinfocenterui.rc DESTINATION ${DATA_INSTALL_DIR}/kinfocenter )