CMAKE_OSX_DEPLOYMENT_TARGET.rst 648 B

123456789101112131415
  1. CMAKE_OSX_DEPLOYMENT_TARGET
  2. ---------------------------
  3. Specify the minimum version of the target platform (e.g. macOS or iOS)
  4. on which the target binaries are to be deployed. CMake uses this
  5. variable value for the ``-mmacosx-version-min`` flag or their respective
  6. target platform equivalents. For older Xcode versions that shipped
  7. multiple macOS SDKs this variable also helps to choose the SDK in case
  8. :variable:`CMAKE_OSX_SYSROOT` is unset.
  9. If not set explicitly the value is initialized by the
  10. ``MACOSX_DEPLOYMENT_TARGET`` environment variable, if set,
  11. and otherwise computed based on the host platform.
  12. .. include:: CMAKE_OSX_VARIABLE.txt