add more spacing
[personal-kdebase.git] / runtime / nepomuk / services / queryservice / CMakeLists.txt
blob65c678a08b24ee47a85314de7261fcd0efccf287
1 project(queryservice)
3 KDE4_NO_ENABLE_FINAL(nepomuk-queryservice)
5 include_directories(
6   ${QT_INCLUDES}
7   ${KDE4_INCLUDES}
8   ${NEPOMUK_INCLUDES}
9   ${nepomuk_SOURCE_DIR}/libnepomukquery
12 set(queryservice_SRCS
13   queryservice.cpp
14   searchcore.cpp
15   searchthread.cpp
16   folder.cpp
17   folderconnection.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 qt4_add_dbus_adaptor(queryservice_SRCS
26   ../../interfaces/org.kde.nepomuk.Query.xml
27   folderconnection.h
28   Nepomuk::Search::FolderConnection)
30 kde4_add_plugin(nepomukqueryservice ${queryservice_SRCS})
32 target_link_libraries(nepomukqueryservice
33   ${SOPRANO_CLIENT_LIBRARIES}
34   ${SOPRANO_LIBRARIES}
35   ${KDE4_KDEUI_LIBS}
36   ${KDE4_KIO_LIBS}
37   ${NEPOMUK_LIBRARIES}
38   )
40 install(
41   FILES nepomukqueryservice.desktop
42   DESTINATION ${SERVICES_INSTALL_DIR})
43 install(
44   TARGETS nepomukqueryservice
45   DESTINATION ${PLUGIN_INSTALL_DIR})