commit | 01f92efeb0c486fa768161d317f59cb5f7806664 | [log] [tgz] |
---|---|---|
author | Brad King <brad.king@kitware.com> | Wed Apr 02 11:22:35 2025 -0400 |
committer | Brad King <brad.king@kitware.com> | Wed Apr 02 14:41:48 2025 -0400 |
tree | 84fdd28cda77f0c8dbcebe2d3f1cd60d521adc75 | |
parent | 7167236ba3fe8fa48313094bedfcd8c01d34cb38 [diff] |
Restore expansion of leading '~' as home directory in input paths This was accidentally dropped by commit 622596c6b2 (cmSystemTools: Re-implement ToNormalizedPathOnDisk without translation map, 2024-10-30, v4.0.0-rc1~528^2~5). Previously it was done by `CollapseFullPath`. `cm::PathResolver` intentionally does not expand `~` because it makes sense only for transforming input paths. Teach `ToNormalizedPathOnDisk` to handle it directly. Fixes: #26827