Initial commit
[drdanz-telepathy-kde:libktelepathy-tests.git] / accept-file-transfer / CMakeLists.txt
1 ### FileTransfer Receiver
2
3 set(telepathy_test_accept_file_transfer_SRCS
4     test-accept-file-transfer.cpp)
5
6 kde4_add_ui_files (telepathy_test_accept_file_transfer_SRCS
7                    test-accept-file-transfer.ui
8 )
9
10 kde4_add_executable (telepathy_test_accept_file_transfer
11                      ${telepathy_test_accept_file_transfer_SRCS}
12 )
13
14 target_link_libraries (telepathy_test_accept_file_transfer
15                        ${KTELEPATHY_LIBRARIES}
16 )
17
18 configure_file(org.freedesktop.Telepathy.Client.telepathy_test_accept_file_transfer.service.in
19                ${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Telepathy.Client.telepathy_test_accept_file_transfer.service)
20 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Telepathy.Client.telepathy_test_accept_file_transfer.service
21         DESTINATION ${DBUS_SERVICES_INSTALL_DIR})
22
23 install(FILES telepathy_test_accept_file_transfer.client DESTINATION ${SHARE_INSTALL_PREFIX}/telepathy/clients/)
24 install(TARGETS telepathy_test_accept_file_transfer ${INSTALL_TARGETS_DEFAULT_ARGS})