Got OpenOffice.org unipresent backend to compile, but it can't yet connect to OO...
[kworship.git] / unipresent / common / CMakeLists.txt
blobf71d1cd9818b06afb288527fcd4ca12a3ac846d0
1 project(unipresent)
3 find_package(KDE4 REQUIRED)
4 include (KDE4Defaults)
5 include_directories(${KDE4_INCLUDES}
6                     ${QT_INCLUDES}
9 set(unipresent_SRCS
10     UpPresentationsModel.cpp
11     UpManager.cpp
12     UpManagerNode.cpp
13     UpBackend.cpp
14     UpBackendNode.cpp
15     UpPresentation.cpp
16     UpPresentationNode.cpp
17     UpSlide.cpp
18     UpSlideNode.cpp
19     UpSlidePreviewWidget.cpp
20     UpSlideEditWidget.cpp
23 kde4_add_library(unipresent SHARED ${unipresent_SRCS})
25 target_link_libraries(unipresent
26                       ${KDE4_KDEUI_LIBS}
27                       ${QT_LIBRARIES}
28                       )
30 install( TARGETS unipresent DESTINATION ${LIB_INSTALL_DIR} )
31 install( FILES unipresentbackend.desktop  DESTINATION  ${SERVICETYPES_INSTALL_DIR} )