summaryrefslogtreecommitdiffstats
path: root/Modules/GetPrerequisites.cmake
diff options
context:
space:
mode:
authorDavid Partyka <dave.partyka@kitware.com>2010-10-26 15:12:12 (GMT)
committerDavid Partyka <dave.partyka@kitware.com>2010-10-26 15:12:12 (GMT)
commitbee4802840607c22d9d37cda8464c17fcdf26529 (patch)
treefeba6528c8cea2eb1ed9c2b87e570b0a04267f76 /Modules/GetPrerequisites.cmake
parent8e550ba31e6b68d85f96bcb833d65e937a7139e2 (diff)
downloadCMake-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.cmake1
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}")