diff options
author | David Partyka <dave.partyka@kitware.com> | 2010-10-26 15:12:12 (GMT) |
---|---|---|
committer | David Partyka <dave.partyka@kitware.com> | 2010-10-26 15:12:12 (GMT) |
commit | bee4802840607c22d9d37cda8464c17fcdf26529 (patch) | |
tree | feba6528c8cea2eb1ed9c2b87e570b0a04267f76 /Modules/GetPrerequisites.cmake | |
parent | 8e550ba31e6b68d85f96bcb833d65e937a7139e2 (diff) | |
download | CMake-bee4802840607c22d9d37cda8464c17fcdf26529.zip CMake-bee4802840607c22d9d37cda8464c17fcdf26529.tar.gz CMake-bee4802840607c22d9d37cda8464c17fcdf26529.tar.bz2 |
Append the gp_tool path to the system PATH using native slashes.
Diffstat (limited to 'Modules/GetPrerequisites.cmake')
-rw-r--r-- | Modules/GetPrerequisites.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/GetPrerequisites.cmake b/Modules/GetPrerequisites.cmake index e51ab57..c877308 100644 --- a/Modules/GetPrerequisites.cmake +++ b/Modules/GetPrerequisites.cmake @@ -600,6 +600,7 @@ function(get_prerequisites target prerequisites_var exclude_system recurse exepa endforeach(gp_env_path_element) 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}") endif() endif(EXISTS "${gp_cmd_dlls_dir}") |