Skip to content

Windows: Tolerate GetShortPathNameW failure

Oldřich Jedlička requested to merge oldium/cmake:fix-short-path into master

The GetShortPath function is used by NMake Makefile generator, so when shortening path fails, it returns empty string. The ERROR_ACCESS_DENIED is currently returned for paths within C:\Program Files\WindowsApps, which is a special folder with limited access rights. It looks like this is by design.

Fixes: #24853 (closed)

Edited by Brad King

Merge request reports

Loading