mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-18 04:31:26 -06:00
Append the gp_tool path to the system PATH using native slashes.
This commit is contained in:
@@ -600,6 +600,7 @@ function(get_prerequisites target prerequisites_var exclude_system recurse exepa
|
|||||||
endforeach(gp_env_path_element)
|
endforeach(gp_env_path_element)
|
||||||
|
|
||||||
if(NOT gp_found_cmd_dlls_dir)
|
if(NOT gp_found_cmd_dlls_dir)
|
||||||
|
file(TO_NATIVE_PATH "${gp_cmd_dlls_dir}" gp_cmd_dlls_dir)
|
||||||
set(ENV{PATH} "$ENV{PATH};${gp_cmd_dlls_dir}")
|
set(ENV{PATH} "$ENV{PATH};${gp_cmd_dlls_dir}")
|
||||||
endif()
|
endif()
|
||||||
endif(EXISTS "${gp_cmd_dlls_dir}")
|
endif(EXISTS "${gp_cmd_dlls_dir}")
|
||||||
|
|||||||
Reference in New Issue
Block a user