aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake/RunTests.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/RunTests.cmake b/cmake/RunTests.cmake
index 9a3e8c296e..0f301a6a10 100644
--- a/cmake/RunTests.cmake
+++ b/cmake/RunTests.cmake
@@ -1,6 +1,8 @@
get_filename_component(BUSTED_DIR ${BUSTED_PRG} PATH)
set(ENV{PATH} "${BUSTED_DIR}:$ENV{PATH}")
+set(ENV{VIMRUNTIME} ${WORKING_DIR}/runtime)
+
if(NVIM_PRG)
set(ENV{NVIM_PROG} "${NVIM_PRG}")
endif()