From 211cbdcf49e74568ce73208e7d444bcec8c2c71b Mon Sep 17 00:00:00 2001 From: Jan Holthuis Date: Tue, 14 Jul 2020 22:49:09 +0200 Subject: [PATCH] CMake: Restore test working directory to fix Appveyor builds --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a444543ce47..1404d67d35c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1336,6 +1336,7 @@ include(GoogleTest) enable_testing() gtest_add_tests( TARGET mixxx-test + WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" TEST_LIST testsuite ) set_tests_properties(${testsuite} PROPERTIES TIMEOUT 30) @@ -1343,6 +1344,7 @@ set_tests_properties(${testsuite} PROPERTIES TIMEOUT 30) # Benchmarking add_custom_target(mixxx-benchmark COMMAND $ --benchmark + WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" COMMENT "Mixxx Benchmarks" VERBATIM )