From: James Turner Date: Tue, 17 Mar 2015 16:56:17 +0000 (+0000) Subject: Set min-macos-version for Cmake 3.2.1 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=43df8b2716cabf43640fa32b62d9426f69a8b424;p=simgear.git Set min-macos-version for Cmake 3.2.1 --- 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