1 add_subdirectory( about )
3 add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
22 set(kinfocenter_adaptor ${KDEBASE_APPS_SOURCE_DIR}/kinfocenter/moduleIface.h)
23 set(kinfocenter_xml ${CMAKE_CURRENT_BINARY_DIR}/org.kde.Kinfocenter.xml)
24 ADD_CUSTOM_COMMAND(OUTPUT ${kinfocenter_xml}
25 COMMAND ${QT_DBUSCPP2XML_EXECUTABLE} ${kinfocenter_adaptor} > ${kinfocenter_xml}
26 DEPENDS ${kinfocenter_adaptor})
27 QT4_ADD_DBUS_INTERFACE( kinfocenter_SRCS ${kinfocenter_xml} kinfocenter_interface )
29 set(kinfocenter_KDEINIT_SRCS ${kinfocenter_SRCS})
31 kde4_add_kdeinit_executable( kinfocenter ${kinfocenter_KDEINIT_SRCS})
33 target_link_libraries(kdeinit_kinfocenter ${KDE4_KDE3SUPPORT_LIBS} ${KDE4_KHTML_LIBS} ${KDE4_KUTILS_LIBS} )
35 install(TARGETS kdeinit_kinfocenter DESTINATION ${LIB_INSTALL_DIR} )
37 target_link_libraries( kinfocenter kdeinit_kinfocenter )
38 install(TARGETS kinfocenter DESTINATION ${BIN_INSTALL_DIR})
40 ########### install files ###############
42 install( FILES kinfocenter.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
43 install( FILES kinfocenterui.rc DESTINATION ${DATA_INSTALL_DIR}/kinfocenter )
45 kde4_install_icons( ${ICON_INSTALL_DIR} )