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

Specify the location or name of the macOS 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