From b0bfffcd904503fecec239225f88f7ae4dc14dc6 Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Sun, 1 May 2016 03:49:46 +0200 Subject: NOISSUE revert to dumping all build artifacts to the root This fixes unit tests on Windows... Windows has no mechanism to set library lookup path. --- cmake/UnitTest.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') diff --git a/cmake/UnitTest.cmake b/cmake/UnitTest.cmake index d2c99933..e48ff74d 100644 --- a/cmake/UnitTest.cmake +++ b/cmake/UnitTest.cmake @@ -45,5 +45,5 @@ function(add_unit_test name) target_include_directories(${name}_test PRIVATE "${TEST_RESOURCE_PATH}/UnitTest/") - add_test(NAME ${name} COMMAND ${name}_test) + add_test(NAME ${name} COMMAND ${name}_test WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) endfunction() -- cgit