Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Locate
mc.exe
at configuration time (#4623)
The `find_program()` command is now executed during the configuration phase to locate `mc.exe` in predefined locations. This approach allows the CMake toolchain to influence the search without modifying the `%PATH%`. If user sets CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH=FALSE, then honor it and fail at configuration time if not found. Otherwise expect %PATH% to contain mc.exe at build time, which is the case when VS generator is used.
- Loading branch information