summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_OSX_DEPLOYMENT_TARGET.rst
blob: 4fb2caa4f2328245d5c78131d8fcb4824de25ec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
CMAKE_OSX_DEPLOYMENT_TARGET
---------------------------

Specify the minimum version of OS X on which the target binaries are
to be deployed.  CMake uses this value for the ``-mmacosx-version-min``
flag and to help choose the default SDK
(see :variable:`CMAKE_OSX_SYSROOT`).

If not set explicitly the value is initialized by the
``MACOSX_DEPLOYMENT_TARGET`` environment variable, if set,
and otherwise computed based on the host platform.

.. include:: CMAKE_OSX_VARIABLE.txt