From Get docs
Cmake/docs/3.21/envvar/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.