aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-02-02 22:30:28 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-02-02 22:33:25 +0100
commit919a81f279e1e748bddc21e74941cc867880404f (patch)
tree86d94f827f7ab720a98cd3125e007f5b44037974 /tests
parent969261ba840c5ce9a97f4b3af071dd8ef2f86e72 (diff)
downloadayatana-indicator-session-919a81f279e1e748bddc21e74941cc867880404f.tar.gz
ayatana-indicator-session-919a81f279e1e748bddc21e74941cc867880404f.tar.bz2
ayatana-indicator-session-919a81f279e1e748bddc21e74941cc867880404f.zip
tests/backend-dbus/CMakeLists.txt: Make sure gdbus-codegen commands (backend-dbus) have run before building the desktopmock tests. Fixes parallel build issues.
Diffstat (limited to 'tests')
-rw-r--r--tests/backend-dbus/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/backend-dbus/CMakeLists.txt b/tests/backend-dbus/CMakeLists.txt
index 5750d9d..5ffdbd9 100644
--- a/tests/backend-dbus/CMakeLists.txt
+++ b/tests/backend-dbus/CMakeLists.txt
@@ -32,6 +32,8 @@ add_library (desktopmock STATIC
mock-webcredentials.cc
mock-webcredentials.h)
+add_dependencies(desktopmock dbusbackend)
+
include_directories (${SERVICE_INCLUDE_DIRS})
include_directories (${CMAKE_SOURCE_DIR}/src)
include_directories (${CMAKE_BINARY_DIR}/src)