add more spacing
[personal-kdebase.git] / workspace / libs / nepomukqueryclient / CMakeLists.txt
blobadaf11167c5327421a3de8aa0c18bccb5bba6b52
1 project(nepomukqueryclient)
3 include_directories(
4   ${QT_INCLUDES}
5   ${KDE4_INCLUDES}
6   ${CMAKE_SOURCE_DIR}
7   ${SOPRANO_INCLUDE_DIR}
8   ${NEPOMUK_INCLUDE_DIR}
9   ${nepomukquery_SOURCE_DIR}
10   )
12 add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})# -fPIC)
14 set(nepomukqueryclient_SRC
15   queryserviceclient.cpp
18 set_source_files_properties(
19   org.kde.nepomuk.QueryService.xml
20   PROPERTIES INCLUDE "querymetatype.h")
22 set_source_files_properties(
23   org.kde.nepomuk.Query.xml
24   PROPERTIES INCLUDE "result.h")
26 qt4_add_dbus_interface(nepomukqueryclient_SRC
27   org.kde.nepomuk.QueryService.xml
28   queryserviceinterface)
29 qt4_add_dbus_interface(nepomukqueryclient_SRC
30   org.kde.nepomuk.Query.xml
31   queryinterface)
33 kde4_add_library(nepomukqueryclient SHARED ${nepomukqueryclient_SRC})
35 set_target_properties(nepomukqueryclient PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
37 target_link_libraries(nepomukqueryclient
38   nepomukquery
39   ${QT_QTCORE_LIBRARY}
40   ${KDE4_KDECORE_LIBS}
41   ${SOPRANO_LIBRARIES}
42   )
44 install(TARGETS nepomukqueryclient EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
46 install(FILES
47   nepomukqueryclient_export.h
48   queryserviceclient.h
49   DESTINATION ${INCLUDE_INSTALL_DIR}/nepomuk