Parcourir la source

Remove unecessary TO_CMAKE_PATH for gp_cmd_dir.

It is already using CMAKE style paths.
David Partyka il y a 15 ans
Parent
commit
8e550ba31e
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  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)