summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_OSX_SYSROOT.rst
blob: f1d58c6b52c482c6f8e35dabe41ac82e5414d7a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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