summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_OSX_DEPLOYMENT_TARGET.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/variable/CMAKE_OSX_DEPLOYMENT_TARGET.rst')
-rw-r--r--Help/variable/CMAKE_OSX_DEPLOYMENT_TARGET.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_OSX_DEPLOYMENT_TARGET.rst b/Help/variable/CMAKE_OSX_DEPLOYMENT_TARGET.rst
new file mode 100644
index 000000000..4fb2caa4f
--- /dev/null
+++ b/Help/variable/CMAKE_OSX_DEPLOYMENT_TARGET.rst
@@ -0,0 +1,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