CMAKE_MINIMUM_REQUIRED_VERSION

From Get docs
Cmake/docs/3.21/variable/cmake minimum required version


CMAKE_MINIMUM_REQUIRED_VERSION

The <min> version of CMake given to the most recent call to the cmake_minimum_required(VERSION) command in the current variable scope or any parent variable scope.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_MINIMUM_REQUIRED_VERSION.html