summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SConstruct10
1 files changed, 3 insertions, 7 deletions
diff --git a/SConstruct b/SConstruct
index 377365f0ffc..ba3403f9066 100644
--- a/SConstruct
+++ b/SConstruct
@@ -2102,7 +2102,7 @@ def doConfigure(myenv):
conf.Finish()
- # We require macOS 10.10, iOS 10.2, or tvOS 10.2
+ # We require macOS 10.12 or newer
if env.TargetOSIs('darwin'):
# TODO: Better error messages, mention the various -mX-version-min-flags in the error, and
@@ -2113,12 +2113,8 @@ def doConfigure(myenv):
#include <AvailabilityMacros.h>
#include <TargetConditionals.h>
- #if TARGET_OS_OSX && (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_10)
+ #if TARGET_OS_OSX && (__MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_12)
#error 1
- #elif TARGET_OS_IOS && (__IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_10_2)
- #error 2
- #elif TARGET_OS_TV && (__TV_OS_VERSION_MIN_REQUIRED < __TVOS_10_1)
- #error 3
#endif
"""
@@ -2132,7 +2128,7 @@ def doConfigure(myenv):
})
if not conf.CheckDarwinMinima():
- conf.env.ConfError("Required target minimum of macOS 10.10, iOS 10.2, or tvOS 10.1 not found")
+ conf.env.ConfError("Required target minimum of macOS 10.12 not found")
conf.Finish()