summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_OSX_SYSROOT.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/variable/CMAKE_OSX_SYSROOT.rst')
-rw-r--r--Help/variable/CMAKE_OSX_SYSROOT.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_OSX_SYSROOT.rst b/Help/variable/CMAKE_OSX_SYSROOT.rst
new file mode 100644
index 000000000..f1d58c6b5
--- /dev/null
+++ b/Help/variable/CMAKE_OSX_SYSROOT.rst
@@ -0,0 +1,13 @@
+CMAKE_OSX_SYSROOT
+-----------------
+
+Specify the location or name of the OS X platform SDK to be used.
+CMake uses this value to compute the value of the ``-isysroot`` flag
+or equivalent and to help the ``find_*`` commands locate files in
+the SDK.
+
+If not set explicitly the value is initialized by the ``SDKROOT``
+environment variable, if set, and otherwise computed based on the
+:variable:`CMAKE_OSX_DEPLOYMENT_TARGET` or the host platform.
+
+.. include:: CMAKE_OSX_VARIABLE.txt