Bump oldest supported MacOS to version 11.

PiperOrigin-RevId: 547479684
Change-Id: Idb6a432af0e7872ca087a0c571aafa72e9528818
This commit is contained in:
Kyle Bayes
2023-07-12 06:37:24 -07:00
committed by Copybara-Service
parent 77b3533d90
commit 242aea93c6
5 changed files with 16 additions and 21 deletions
+5 -2
View File
@@ -13,8 +13,11 @@
# limitations under the License.
if(APPLE)
# 10.12 is the oldest version of macOS that supports C++17, launched 2016.
set(MUJOCO_MACOSX_VERSION_MIN 10.12)
# Target the oldest version of macOS that is still supported by Apple.
# We follow https://endoflife.date/macos, which considers a version to become
# unsupported the first time it is excluded from a macOS security update
# (e.g. https://github.com/endoflife-date/endoflife.date/issues/1602).
set(MUJOCO_MACOSX_VERSION_MIN 11)
# We are setting the -mmacosx-version-min compiler flag directly rather than using the
# CMAKE_OSX_DEPLOYMENT_TARGET variable since we do not want to affect choice of SDK,