aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-02-02 22:30:28 +0100
committerRobert Tari <robert@tari.in>2021-02-03 07:32:10 +0100
commit70acec32119d53c81e46a88ab6b3c7896c1485a4 (patch)
tree33409b3cec78b6ffdfca69ee65ea6dcbd1439293
parent117365b55e5a8d33ecdb1e4323c235a9d2afa087 (diff)
downloadayatana-indicator-session-70acec32119d53c81e46a88ab6b3c7896c1485a4.tar.gz
ayatana-indicator-session-70acec32119d53c81e46a88ab6b3c7896c1485a4.tar.bz2
ayatana-indicator-session-70acec32119d53c81e46a88ab6b3c7896c1485a4.zip
tests/backend-dbus/CMakeLists.txt: Make sure gdbus-codegen commands (backend-dbus) have run before building the desktopmock tests. Fixes parallel build issues.
-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)