Minor tweaks to CMakeLists in unipresent so it compiles with BUILD_TYPE=Debug
[kworship.git] / unipresent / kpresenter1 / CMakeLists.txt
blobb42024b901ad06de657000548fa740a4a5747e7e
1 project(unipresent_kpresenter1)
3 find_package(KDE4 REQUIRED)
4 include (KDE4Defaults)
5 include_directories(${KDE4_INCLUDES}
6                     ${QT_INCLUDES}
9 set(unipresent_kpresenter1_SRCS
10     UpKpr1Dcop.cpp
11     UpKpr1AppsDcop.cpp
12     UpKpr1KpresenterDcop.cpp
13     UpKpr1Backend.cpp
14     UpKpr1Presentation.cpp
15     UpKpr1PresentationDcop.cpp
16     UpKpr1ViewDcop.cpp
17     UpKpr1Slide.cpp
18     UpKpr1SlideDcop.cpp
21 kde4_add_plugin(unipresent_kpresenter1 ${unipresent_kpresenter1_SRCS})
23 target_link_libraries(unipresent_kpresenter1
24                       unipresent
25                       ${KDE4_KDEUI_LIBS}
26                       ${QT_LIBRARIES}
27                       )
29 install( TARGETS unipresent_kpresenter1 DESTINATION ${PLUGIN_INSTALL_DIR} )
30 install( FILES unipresent_kpresenter1.desktop  DESTINATION  ${SERVICES_INSTALL_DIR} )