Skip to content
  • Brad King's avatar
    cmcldeps: Restore support for rc.exe path not fully GetShortPathName-d · 03080d18
    Brad King authored
    In some cases `GetShortPathNameW` may not remove all spaces.  If that
    happens with the path to `rc.exe`, cmcldeps needs to explicitly quote
    the path in the command it runs.
    
    This was exposed by commit 50a6e78a (cmSystemTools::RunSingleCommand():
    Replace cmsysProcess with cmUVProcessChain, 2023-07-25, v3.28.0-rc1~138^2~4)
    because the underlying process execution library no longer reconstructs the
    command line without quotes around commands without spaces.
    
    Fixes: #25355
    03080d18