diff --git a/cmake/BuildParameters.cmake b/cmake/BuildParameters.cmake index 2bd5b4191d..404578be86 100644 --- a/cmake/BuildParameters.cmake +++ b/cmake/BuildParameters.cmake @@ -328,9 +328,9 @@ endif() # MacOS-specific things #------------------------------------------------------------------------------- -set(CMAKE_OSX_DEPLOYMENT_TARGET 10.9) +set(CMAKE_OSX_DEPLOYMENT_TARGET 10.13) -if (APPLE AND ${CMAKE_OSX_DEPLOYMENT_TARGET} VERSION_LESS 10.14 AND NOT ${CMAKE_CXX_COMPILER_VERSION} VERSION_LESS 10) +if (APPLE AND ${CMAKE_OSX_DEPLOYMENT_TARGET} VERSION_LESS 10.14 AND NOT ${CMAKE_CXX_COMPILER_VERSION} VERSION_LESS 9) # Older versions of the macOS stdlib don't have operator new(size_t, align_val_t) # Disable use of them with this flag # Not great, but also no worse that what we were getting before we turned on C++17