Turn songdb into a plugin, lots of tweaks, drag'n'drop of songs temporarily broken
[kworship.git] / kworship / bible / CMakeLists.txt
blob2a069372194df5f138256ebb97c4ac0ebb959632
1 project(kworship_bible)
3 find_package(KDE4 REQUIRED)
4 include (KDE4Defaults)
6 set(kworship_bible_SRCS
7     KwBiblePlugin.cpp
8     KwBibleManager.cpp
9     KwBibleModule.cpp
10     KwBiblePassage.cpp
11     KwBiblePlaylistItem.cpp
12     KwBiblePlaylistItemNode.cpp
15 add_subdirectory (sword)
16 add_subdirectory (biblegateway)
18 include_directories(${SWORD_INCLUDE_DIR}
19                     ..)
21 kde4_add_plugin(kworship_bible ${kworship_bible_SRCS})
23 target_link_libraries(kworship_bible
24                       ${KDE4_KDECORE_LIBS}
25                       ${KDE4_KHTML_LIBS}
26                       ${QT_LIBRARIES}
27                       ${SWORD_LIBS}
28                       kworshipmain
29                       )
31 install( TARGETS kworship_bible DESTINATION ${PLUGIN_INSTALL_DIR} )
32 install( FILES kworship_bible.desktop  DESTINATION  ${SERVICES_INSTALL_DIR} )
33 install( FILES kworship_bibleui.rc  DESTINATION ${DATA_INSTALL_DIR}/kworship/bible )
34 install( FILES kworship_bible_backend.desktop  DESTINATION  ${SERVICETYPES_INSTALL_DIR} )