Skip to content

Commit

Permalink
prepend to PATH in order to override any previously set paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
mheimlich committed Jun 27, 2022
1 parent 4fadb4b commit 3828106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/CatchAddTests.cmake
Expand Up @@ -101,7 +101,7 @@ endif()
if(dl_paths)
foreach(path ${dl_paths})
cmake_path(NATIVE_PATH path native_path)
list(APPEND environment_modifications "${dl_paths_variable_name}=path_list_append:${native_path}")
list(APPEND environment_modifications "${dl_paths_variable_name}=path_list_prepend:${native_path}")
endforeach()
endif()

Expand Down

0 comments on commit 3828106

Please sign in to comment.