CMakeLists.txt 684 Bytes
Newer Older
1
2
3

include_directories(${CMAKE_SOURCE_DIR}/kaddressbook)

4
5
6
set(kontact_kaddressbookplugin_PART_SRCS
    kaddressbookplugin_debug.cpp
    kaddressbook_plugin.cpp
7
8
)

9
qt5_add_dbus_interfaces(kontact_kaddressbookplugin_PART_SRCS ../org.kde.kaddressbook.xml)
10
11
12


add_library(kontact_kaddressbookplugin MODULE ${kontact_kaddressbookplugin_PART_SRCS})
13
14
15
target_link_libraries(kontact_kaddressbookplugin
    KF5::KontactInterface
)
16
17
18
19

install(TARGETS kontact_kaddressbookplugin DESTINATION ${KDE_INSTALL_PLUGINDIR})
install(FILES kaddressbookplugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kontact)
install(FILES kaddressbook.setdlg DESTINATION ${KDE_INSTALL_DATADIR}/kontact/ksettingsdialog)