CMake ignores PATH and only looks in /usr/bin
.
CMake Error at CMakeLists.txt:2 (project):
Running
'/usr/bin/ninja' '--version'
failed with:
no such file or directory
How to correct this behavior and let cmake use generator from specific path in command-line and presets.json?
2