not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / libs / nepomukquery / CMakeLists.txt
blob3251f9e13f6e5f3d01c975ab893f12dad1745c16
1 project(nepomukquery)
3 include_directories(
4   ${QT_INCLUDES}
5   ${KDE4_INCLUDES}
6   ${CMAKE_SOURCE_DIR}
7   ${SOPRANO_INCLUDE_DIR}
8   ${NEPOMUK_INCLUDE_DIR}
9   )
11 add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})# -fPIC)
13 set(nepomukquery_SRC
14   result.cpp
15   term.cpp
16   query.cpp
17   queryparser.cpp
18   dbusoperators.cpp
21 kde4_add_library(nepomukquery SHARED ${nepomukquery_SRC}
24 set_target_properties(nepomukquery PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
26 target_link_libraries(nepomukquery
27   ${QT_QTCORE_LIBRARY}
28   ${KDE4_KDECORE_LIBS}
29   ${SOPRANO_LIBRARIES}
30   )
32 install(TARGETS nepomukquery EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
34 install(FILES
35   nepomukquery_export.h
36   queryparser.h
37   result.h
38   term.h
39   query.h
40   DESTINATION ${INCLUDE_INSTALL_DIR}/nepomuk