summaryrefslogtreecommitdiffstats
path: root/Modules/GetPrerequisites.cmake
diff options
context:
space:
mode:
authorDavid Partyka <dave.partyka@kitware.com>2010-10-26 14:27:41 (GMT)
committerDavid Partyka <dave.partyka@kitware.com>2010-10-26 14:28:42 (GMT)
commit8e550ba31e6b68d85f96bcb833d65e937a7139e2 (patch)
treec65a5e68692735d6397ee7380b46ad3444f74577 /Modules/GetPrerequisites.cmake
parent16841987064cb79d3556034384458a36c4ceecef (diff)
downloadCMake-8e550ba31e6b68d85f96bcb833d65e937a7139e2.zip
CMake-8e550ba31e6b68d85f96bcb833d65e937a7139e2.tar.gz
CMake-8e550ba31e6b68d85f96bcb833d65e937a7139e2.tar.bz2
Remove unecessary TO_CMAKE_PATH for gp_cmd_dir.
It is already using CMAKE style paths.
Diffstat (limited to 'Modules/GetPrerequisites.cmake')
-rw-r--r--Modules/GetPrerequisites.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/GetPrerequisites.cmake b/Modules/GetPrerequisites.cmake
index 40b682e..e51ab57 100644
--- a/Modules/GetPrerequisites.cmake
+++ b/Modules/GetPrerequisites.cmake
@@ -589,7 +589,6 @@ function(get_prerequisites target prerequisites_var exclude_system recurse exepa
get_filename_component(gp_cmd_dlls_dir "${gp_cmd_dir}/../../Common7/IDE" ABSOLUTE)
# Use cmake paths as a user may have a PATH element ending with a backslash.
# This will escape the list delimiter and create havoc!
- file(TO_CMAKE_PATH "${gp_cmd_dlls_dir}" gp_cmd_dlls_dir)
if(EXISTS "${gp_cmd_dlls_dir}")
# only add to the path if it is not already in the path
set(gp_found_cmd_dlls_dir 0)