summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/cmake/config-ix.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler-rt/cmake/config-ix.cmake b/compiler-rt/cmake/config-ix.cmake
index f08a3c59bdb..3a3e03a01ae 100644
--- a/compiler-rt/cmake/config-ix.cmake
+++ b/compiler-rt/cmake/config-ix.cmake
@@ -357,14 +357,14 @@ if(APPLE)
elseif(CMAKE_OSX_DEPLOYMENT_TARGET)
set(SANITIZER_MIN_OSX_VERSION ${CMAKE_OSX_DEPLOYMENT_TARGET})
else()
- set(SANITIZER_MIN_OSX_VERSION 10.9)
+ set(SANITIZER_MIN_OSX_VERSION 10.10)
endif()
if(SANITIZER_MIN_OSX_VERSION VERSION_LESS "10.7")
message(FATAL_ERROR "macOS deployment target '${SANITIZER_MIN_OSX_VERSION}' is too old.")
endif()
- if(SANITIZER_MIN_OSX_VERSION VERSION_GREATER "10.9")
- message(WARNING "macOS deployment target '${SANITIZER_MIN_OSX_VERSION}' is too new, setting to '10.9' instead.")
- set(SANITIZER_MIN_OSX_VERSION 10.9)
+ if(SANITIZER_MIN_OSX_VERSION VERSION_GREATER "10.10")
+ message(WARNING "macOS deployment target '${SANITIZER_MIN_OSX_VERSION}' is too new, setting to '10.10' instead.")
+ set(SANITIZER_MIN_OSX_VERSION 10.10)
endif()
endif()
OpenPOWER on IntegriCloud