I have installed CMake and cmake.exe is in C:\Program Files (x86)\CMake\bin
But when I run call cmake %CMAKE_BUILD_OPTIONS%
through a bat file I am getting an error message
'cmake' is not recognized as an internal or external command, operable program or batch file.
Should I set this path in environment variable?
It resolved after adding C:\Program Files (x86)\CMake\bin
to environment variable PATH
.
Was able to resolve the issue by installing Chocolatey (on Windows 10) and running choco install cmake
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With