From 43df8b2716cabf43640fa32b62d9426f69a8b424 Mon Sep 17 00:00:00 2001 From: James Turner Date: Tue, 17 Mar 2015 16:56:17 +0000 Subject: [PATCH] Set min-macos-version for Cmake 3.2.1 --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7329f0bf..51d6c4af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -177,10 +177,8 @@ endif (MSVC AND MSVC_3RDPARTY_ROOT) if(APPLE) find_library(COCOA_LIBRARY Cocoa) -# this should be handled by setting CMAKE_OSX_DEPLOYMENT_TARGET -# but it's not working reliably, so forcing it for now + # using 10.7 because boost requires libc++ and 10.6 doesn't include it SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.7") - SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mmacosx-version-min=10.7") endif() if(${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR -- 2.39.5