From a2b2927f72fdf31441fc49dbf4ff8ede3f1aa997 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Wed, 3 Oct 2018 13:51:01 +0200 Subject: fix backward compatibility mode on macos --- templates/CMakeLists.txt.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/CMakeLists.txt.template b/templates/CMakeLists.txt.template index 5fff74f128..1628493d00 100644 --- a/templates/CMakeLists.txt.template +++ b/templates/CMakeLists.txt.template @@ -168,8 +168,8 @@ if(gRPC_BACKWARDS_COMPATIBILITY_MODE) add_definitions(-DGPR_BACKWARDS_COMPATIBILITY_MODE) if (_gRPC_PLATFORM_MAC) - # CMAKE_OSX_DEPLOYMENT_TARGET - add_definitions(-mmacosx-version-min=10.7) + # some C++11 constructs not supported before OS X 10.9 + set(CMAKE_OSX_DEPLOYMENT_TARGET 10.9) endif() endif() -- cgit v1.2.3