Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delegate cmake version check to cmake when possible (#37447)
* Delegate cmake version check to cmake when possible There are two kinds of old cmake versions: * <ins>v3.13.0 onwards that support `-B` command-line option:</ins> cmake will print the error message based on `cmake_minimum_required` specified. * <ins>< v3.13.0, which do not have `-B` option:</ins> cmake will fail before the version check with an obscure message, quite implicitly indicating that it doesn't understand `-B`. For that we have an up-front check just for `-B` option, covering the existence of cmake as well. * Update eng/native/build-commons.sh Co-authored-by: Jan Vorlicek <[email protected]> Co-authored-by: Jan Vorlicek <[email protected]>
- Loading branch information