diff --git a/cmake/Tests.cmake b/cmake/Tests.cmake index e50049032..509d5840e 100644 --- a/cmake/Tests.cmake +++ b/cmake/Tests.cmake @@ -38,6 +38,7 @@ if(POLICY CMP0037) endif() add_custom_target(test COMMAND env CTEST_PARALLEL_LEVEL=${CTEST_PARALLEL_LEVEL} FISH_FORCE_COLOR=1 + FISH_SOURCE_DIR=${CMAKE_SOURCE_DIR} ${CMAKE_CTEST_COMMAND} --force-new-ctest-process # --verbose --output-on-failure --progress DEPENDS fish_tests tests_buildroot_target