STM32CubeIDE can't find cmake
Hi !
I have troubles with using cmake and STM32CubeIDE on my laptop: I am trying to compile a project, and when I use the build (hammer) button, it errors out with this:
**** CMake Configure of configuration Debug for project gamma_focal ****
C:\Program Files\CMake\bin\cmake.exe -S . -B build/Debug -GUnix Makefiles -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
Cannot run program: "cmake": Ensure CMake is installed and available from the system PATH.
However, when I type the command in my terminal, it works nicely (I have to insert quotes to format the shell
command correctly). So Cmake is on my path. I verified it was inside both user and system level env variables. It is also inside the Path
environment variables inside Properties -> C/C++ Build -> Environment.
I believe this is likely a bug, the same project on my co-worker computer's compiles OK. I am using STM32CubeIDE version 1.18.0, and it also didn't work when switching to version 1.18.1. I'm on a windows 11 Professional machine, version 24H2, build 26100.4061
When using VSCode, it also worked OK, but I don't want to switch to an IDE no one in my company uses, it should work anyway.
