3 find_package(UNO REQUIRED)
4 find_package(Sword REQUIRED)
5 find_package(KDE4 REQUIRED)
8 include(${QT_USE_FILE})
9 include_directories(${KDE4_INCLUDES}
12 ../unipresent/kpresenter1
13 ../unipresent/kpresenter2
14 ../unipresent/openoffice.org
23 add_subdirectory (media)
24 add_subdirectory (display)
25 add_subdirectory (css)
26 add_subdirectory (songdb)
27 add_subdirectory (bible)
28 add_subdirectory (playlist)
29 add_subdirectory (archive)
42 kde4_add_ui_files(kworship_SRCS
47 prefsPresentations_base.ui
50 kde4_add_kcfg_files(kworship_SRCS settings.kcfgc )
52 kde4_add_executable(kworship ${kworship_SRCS})
54 target_link_libraries(kworship
73 install(TARGETS kworship DESTINATION ${BIN_INSTALL_DIR} )
76 ########### install files ###############
78 install( FILES kworship.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
79 install( FILES kworship.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
80 install( FILES kworshipui.rc DESTINATION ${DATA_INSTALL_DIR}/kworship )