summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-05-01 03:49:46 +0200
committerPetr Mrázek <peterix@gmail.com>2016-05-01 03:49:46 +0200
commitb0bfffcd904503fecec239225f88f7ae4dc14dc6 (patch)
treef80f6c3813c7b7747221f188df882e70828ab76d /cmake
parent80b28e7d49d98a990e4d56bba4eb2e4a1bca1a94 (diff)
downloadMultiMC-b0bfffcd904503fecec239225f88f7ae4dc14dc6.tar
MultiMC-b0bfffcd904503fecec239225f88f7ae4dc14dc6.tar.gz
MultiMC-b0bfffcd904503fecec239225f88f7ae4dc14dc6.tar.lz
MultiMC-b0bfffcd904503fecec239225f88f7ae4dc14dc6.tar.xz
MultiMC-b0bfffcd904503fecec239225f88f7ae4dc14dc6.zip
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.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/UnitTest.cmake2
1 files changed, 1 insertions, 1 deletions
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()