┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2012-05-06 21:49:47 +0200
committerPeter Penz <[email protected]>2012-05-06 21:52:33 +0200
commit5cf40dba79301e2d54d63c8da4607325159f26b6 (patch)
tree165b71de4d996752839f0129b5bcf8dc7aefa00e /src/CMakeLists.txt
parent814a64681df13c7fb3596e292469835b83977ecb (diff)
Remove kde-runtime dependency "nepomukdatamanagement"
Follow the suggestion from Vishesh Handa and copy the ResourceWatcher code from kde-runtime instead of creating a dependency. This will of course get removed again as soon as Nepomuk's resource watcher will get a public API.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 3a06d6093..c00d29c20 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -77,7 +77,16 @@ if (Nepomuk_FOUND)
set(dolphinprivate_LIB_SRCS
${dolphinprivate_LIB_SRCS}
kitemviews/private/knepomukrolesprovider.cpp
+ kitemviews/private/nepomuk/resourcewatcher.cpp
)
+
+ qt4_add_dbus_interface(dolphinprivate_LIB_SRCS
+ kitemviews/private/nepomuk/org.kde.nepomuk.ResourceWatcherConnection.xml
+ resourcewatcherconnectioninterface)
+
+ qt4_add_dbus_interface(dolphinprivate_LIB_SRCS
+ kitemviews/private/nepomuk/org.kde.nepomuk.ResourceWatcher.xml
+ resourcewatchermanagerinterface)
endif (Nepomuk_FOUND)
kde4_add_kcfg_files(dolphinprivate_LIB_SRCS
@@ -103,7 +112,6 @@ if (Nepomuk_FOUND)
dolphinprivate
${NEPOMUK_LIBRARIES}
${NEPOMUK_QUERY_LIBRARIES}
- nepomukdatamanagement
nepomukutils
${SOPRANO_LIBRARIES}
)
@@ -219,7 +227,6 @@ if (Nepomuk_FOUND)
${NEPOMUK_LIBRARIES}
${SOPRANO_LIBRARIES}
${NEPOMUK_QUERY_LIBRARIES}
- nepomukdatamanagement
nepomukutils
)
endif (Nepomuk_FOUND)