diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 862ca41..fcb93d4 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -56,7 +56,7 @@ endif() add_custom_command( TARGET ${UNITTEST_TARGET_NAME} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_directory - ${CMAKE_SOURCE_DIR}/test/data + ${CMAKE_CURRENT_SOURCE_DIR}/test/data ${CMAKE_CURRENT_BINARY_DIR}/data ) ##