add more spacing
[personal-kdebase.git] / runtime / nepomuk / kioslaves / search / CMakeLists.txt
blobc2b50c0feabf304a117dab0493455b8f8f585ece
1 project(kioslave_nepomuksearch)
2 KDE4_NO_ENABLE_FINAL(kioslave_nepomuksearch)
4 include_directories(
5   ${QT_INCLUDES}
6   ${KDE4_INCLUDES}
7   ${KDE4_KIO_INCLUDES}
8   ${NEPOMUK_INCLUDE_DIR}
9   ${nepomuk_SOURCE_DIR}/libnepomukquery
12 add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
14 set(kio_nepomuksearch_PART_SRCS
15   kio_nepomuksearch.cpp
16   searchfolder.cpp
17   queryserviceclient.cpp
18   ${nepomuk_SOURCE_DIR}/libnepomukquery/result.cpp
19   ${nepomuk_SOURCE_DIR}/libnepomukquery/query.cpp
20   ${nepomuk_SOURCE_DIR}/libnepomukquery/term.cpp
21   ${nepomuk_SOURCE_DIR}/libnepomukquery/queryparser.cpp
22   ${nepomuk_SOURCE_DIR}/libnepomukquery/dbusoperators.cpp
25 set_source_files_properties(
26   ../../interfaces/org.kde.nepomuk.QueryService.xml
27   PROPERTIES INCLUDE "querymetatype.h")
29 set_source_files_properties(
30   ../../interfaces/org.kde.nepomuk.Query.xml
31   PROPERTIES INCLUDE "result.h")
33 qt4_add_dbus_interface(kio_nepomuksearch_PART_SRCS
34   ../../interfaces/org.kde.nepomuk.QueryService.xml
35   queryserviceinterface)
36 qt4_add_dbus_interface(kio_nepomuksearch_PART_SRCS
37   ../../interfaces/org.kde.nepomuk.Query.xml
38   queryinterface)
40 kde4_add_plugin(kio_nepomuksearch
41   ${kio_nepomuksearch_PART_SRCS})
43 target_link_libraries(kio_nepomuksearch
44   ${KDE4_KIO_LIBS}
45   ${NEPOMUK_LIBRARIES}
46   ${SOPRANO_LIBRARIES}
47   )
49 install(
50   TARGETS kio_nepomuksearch
51   DESTINATION ${PLUGIN_INSTALL_DIR})
52 install(
53   FILES nepomuksearch.protocol
54   DESTINATION  ${SERVICES_INSTALL_DIR})