From: James Turner Date: Tue, 17 Mar 2015 22:33:54 +0000 (+0000) Subject: Fix for Cmake 3.2.1 Mac SDK handling X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a6b5ab7c748f896452657e8a0181643ab55ba303;p=flightgear.git Fix for Cmake 3.2.1 Mac SDK handling --- diff --git a/CMakeLists.txt b/CMakeLists.txt index b5acf7150..2a7d04fb4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,7 @@ endif() project(FlightGear) # using 10.7 because boost requires libc++ and 10.6 doesn't include it -set(CMAKE_OSX_DEPLOYMENT_TARGET 10.7) +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.7") # We have some custom .cmake scripts not in the official distribution. set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/CMakeModules;${CMAKE_MODULE_PATH}")