Plugin system for bible backends and various tweaks to plugin code included debug...
[kworship.git] / kworship / bible / biblegateway / CMakeLists.txt
blobd72c9d195648625307a985591a7b6ec4b8f1617b
1 project(kworship_bible_biblegateway)
3 find_package(KDE4 REQUIRED)
4 include (KDE4Defaults)
5 find_package(Sword REQUIRED)
7 set(kworship_bible_biblegateway_SRCS
8     KwBibleManagerBibleGateway.cpp
9     KwBibleModuleBibleGateway.cpp
12 include_directories(${SWORD_INCLUDE_DIR}
13                     ..)
15 kde4_add_plugin(kworship_bible_biblegateway ${kworship_bible_biblegateway_SRCS})
17 target_link_libraries(kworship_bible_biblegateway
18                       kworship_bible
19                       ${KDE4_KDECORE_LIBS}
20                       ${QT_LIBRARIES}
21                       )
23 install( TARGETS kworship_bible_biblegateway DESTINATION ${PLUGIN_INSTALL_DIR} )
24 install( FILES kworship_bible_biblegateway.desktop  DESTINATION  ${SERVICES_INSTALL_DIR} )