Skip to content

cmake: Fix global generator path style in --build mode

Brad King requested to merge brad.king/cmake:cmake-build-global-gen into master

Fix the --build code path so that cmSystemTools::SetForceUnixPaths is called with the global generator's path style. This makes forwarding of --target subdir/src.c.obj match the slash style the generator placed in the build system.

Fixes: #17742 (closed)

Merge request reports