Commit 9c446412 authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot
Browse files

Merge topic 'praxis-test-path'


 windows: add the install to PATH during testing
Acked-by: Kitware Robot's avatarKitware Robot <>
Merge-request: !61
parents 0930f746 5ffcee19
...@@ -6,6 +6,11 @@ function (subdirs subdir) ...@@ -6,6 +6,11 @@ function (subdirs subdir)
_subdirs("${old_implicit_root}${subdir}") _subdirs("${old_implicit_root}${subdir}")
endfunction () endfunction ()
if (WIN32)
# Add the install directory to the path.
set(ENV{PATH} "$ENV{PATH};@install_location@/bin")
endif ()
set(extra_ctest_dirs "@extra_ctest_dirs@") set(extra_ctest_dirs "@extra_ctest_dirs@")
foreach (extra_ctest_dir IN LISTS extra_ctest_dirs) foreach (extra_ctest_dir IN LISTS extra_ctest_dirs)
set(implicit_root "${extra_ctest_dir}/") set(implicit_root "${extra_ctest_dir}/")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment