MACOSX_DEPLOYMENT_TARGET

From Get docs
Cmake/docs/3.21/envvar/macosx deployment target


MACOSX_DEPLOYMENT_TARGET

This is a CMake Environment Variable. Its initial value is taken from the calling process environment.

Specify the minimum version of macOS on which the target binaries are to be deployed.

The MACOSX_DEPLOYMENT_TARGET environment variable sets the default value for the CMAKE_OSX_DEPLOYMENT_TARGET variable.

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