Browse Source

Remove unecessary TO_CMAKE_PATH for gp_cmd_dir.

It is already using CMAKE style paths.
David Partyka 15 years ago
parent
commit
8e550ba31e
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Modules/GetPrerequisites.cmake

+ 0 - 1
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)