I wouldn’t say it is guaranteed to remain safe into the future, but it is unlikely to become unsafe. I would say that you shouldn’t put FORCE there though, it stops the developer from providing their own path to the build tool. FWIW, I wouldn’t try to set CMAKE_MAKE_PROGRAM directly in the project at all. It is meant to be something the user is responsible for if they are not putting the build tool on the PATH. If you’re using CMake presets, there may be an argument to set CMAKE_MAKE_PROGRAM there.
1 Like