Database: sqlite default to appdata kworship.db
[kworship.git] / unipresent / kpresenter2 / CMakeLists.txt
blob40b9a5e0c7d21c744e30f571fe4d1eb3e27a3673
1 project(unipresent_kpresenter2)
3 find_package(KDE4 REQUIRED)
4 include (KDE4Defaults)
5 include_directories(${KDE4_INCLUDES}
6                     ${QT_INCLUDES}
9 set(unipresent_kpresenter2_SRCS
10     UpKpr2Backend.cpp
11     UpKpr2Process.cpp
12     UpKpr2Presentation.cpp
13     UpKpr2Slide.cpp
16 kde4_add_plugin(unipresent_kpresenter2 ${unipresent_kpresenter2_SRCS})
18 target_link_libraries(unipresent_kpresenter2
19                       unipresent
20                       ${KDE4_KDECORE_LIBS}
21                       ${KDE4_KIO_LIBS}
22                       ${QT_LIBRARIES}
23                       )
25 install( TARGETS unipresent_kpresenter2 DESTINATION ${PLUGIN_INSTALL_DIR} )
26 install( FILES unipresent_kpresenter2.desktop  DESTINATION  ${SERVICES_INSTALL_DIR} )