mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-10 09:09:51 -06:00
We search for tools `ninja-build`, `ninja`, and `samu` as the build tool for the Ninja generator. Re-order the search to prefer whichever tool appears first in the `PATH`. This makes it easier for users to control which tool gets used when more than one is available. Fixes: #20028