CMAKE_OSX_SYSROOT.rst 479 B

12345678910111213
  1. CMAKE_OSX_SYSROOT
  2. -----------------
  3. Specify the location or name of the OS X platform SDK to be used.
  4. CMake uses this value to compute the value of the ``-isysroot`` flag
  5. or equivalent and to help the ``find_*`` commands locate files in
  6. the SDK.
  7. If not set explicitly the value is initialized by the ``SDKROOT``
  8. environment variable, if set, and otherwise computed based on the
  9. :variable:`CMAKE_OSX_DEPLOYMENT_TARGET` or the host platform.
  10. .. include:: CMAKE_OSX_VARIABLE.txt