-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
45 lines (36 loc) · 911 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
project(resourcebrowser)
find_package(KDE4 REQUIRED)
find_package(Nepomuk REQUIRED)
include(MacroLibrary)
include(SopranoAddOntology)
include (KDE4Defaults)
include_directories(
${QT_INCLUDES}
${KDE4_INCLUDES}
${SOPRANO_INCLUDE_DIR}
${CMAKE_SOURCE_DIR}
${NEPOMUK_INCLUDE_DIR}
)
set( SRCS
main.cpp
resourcebrowser.cpp
linkresourcedialog.cpp
removeduplicates.cpp
)
#kde4_add_ui_files(SRCS
#browserview.ui
# )
kde4_add_executable(resourcebrowser ${SRCS})
target_link_libraries( resourcebrowser
nepomukutils
${KDE4_KDEUI_LIBS}
${KDE4_KIO_LIBS}
${NEPOMUK_LIBRARIES}
${NEPOMUK_QUERY_LIBRARIES}
${SOPRANO_LIBRARIES}
${NEPOMUKEXTRAS_INCLUDE_DIR}
)
install(TARGETS resourcebrowser
${INSTALL_TARGETS_DEFAULT_ARGS})
#install(FILES resourcebrowser.desktop DESTINATION ${SERVICES_INSTALL_DIR})
#install(PROGRAMS resourcebrowser.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})