mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-22 17:00:23 +01:00
cmake: Set working directory to be a native path
If we're cross-compiling for Windows on Unix, CTest needs to chdir() to the native Unix path. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
a8e5e5c552
commit
269bb1dcf2
1 changed files with 1 additions and 1 deletions
|
|
@ -490,7 +490,7 @@ if (DBUS_BUILD_TESTS)
|
|||
# This happens to be the same as DBUS_TEST_EXEC, but its meaning is
|
||||
# different, and it has no direct Autotools equivalent (Autotools
|
||||
# tests automatically get their own ${builddir} as working directory).
|
||||
set(DBUS_TEST_WORKING_DIR ${Z_DRIVE_IF_WINE}${CMAKE_RUNTIME_OUTPUT_DIRECTORY}${IDE_BIN})
|
||||
set(DBUS_TEST_WORKING_DIR ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}${IDE_BIN})
|
||||
set(DBUS_TEST_DATA ${Z_DRIVE_IF_WINE}${CMAKE_BINARY_DIR}/test/data)
|
||||
set(DBUS_TEST_DAEMON ${Z_DRIVE_IF_WINE}${CMAKE_RUNTIME_OUTPUT_DIRECTORY}${IDE_BIN}/dbus-daemon${EXEEXT})
|
||||
set(DBUS_TEST_DBUS_LAUNCH ${Z_DRIVE_IF_WINE}${CMAKE_RUNTIME_OUTPUT_DIRECTORY}${IDE_BIN}/dbus-launch${EXEEXT})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue