cmake/Help/variable/CMAKE_OSX_DEPLOYMENT_TARGET.rst

16 lines
648 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
CMAKE_OSX_DEPLOYMENT_TARGET
---------------------------
2018-04-23 21:13:27 +02:00
Specify the minimum version of the target platform (e.g. macOS or iOS)
on which the target binaries are to be deployed. CMake uses this
variable value for the ``-mmacosx-version-min`` flag or their respective
target platform equivalents. For older Xcode versions that shipped
multiple macOS SDKs this variable also helps to choose the SDK in case
:variable:`CMAKE_OSX_SYSROOT` is unset.
2014-08-03 19:52:23 +02:00
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