From f5750376b8dad42320558f7a109fce161a09c2c0 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Mon, 6 Jan 2014 23:23:21 +0100 Subject: [PATCH 7/8] Define TEST_BUS_LAUNCH_BINARY for cmake. --- cmake/CMakeLists.txt | 1 + cmake/config.h.cmake | 1 + 2 Dateien geändert, 2 Zeilen hinzugefügt(+) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index bea9ab1..37227ba 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -468,6 +468,7 @@ if (DBUS_BUILD_TESTS) set(DBUS_TEST_DATA ${CMAKE_BINARY_DIR}/test/data) set(TEST_SOCKET_DIR ${DBUS_SESSION_SOCKET_DIR} ) set(TEST_LAUNCH_HELPER_BINARY ${EXECUTABLE_OUTPUT_PATH}/dbus-daemon-launch-helper-test) + set(TEST_BUS_LAUNCH_BINARY ${EXECUTABLE_OUTPUT_PATH}/dbus-launch) if (WIN32 OR CROSS_COMPILING) set (TEST_LISTEN "autolaunch:scope=*install-path") set (TEST_CONNECT_ADDRESS "autolaunch:scope=*install-path") diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake index 3735560..119ed39 100644 --- a/cmake/config.h.cmake +++ b/cmake/config.h.cmake @@ -32,6 +32,7 @@ // test binaries #define DBUS_TEST_EXEC "@DBUS_TEST_EXEC@" #define DBUS_EXEEXT "@EXEEXT@" +#cmakedefine TEST_BUS_LAUNCH_BINARY "@TEST_BUS_LAUNCH_BINARY@" /* Some dbus features */ #cmakedefine DBUS_ENABLE_ANSI 1 -- 1.7.10.4