From: James Turner Date: Tue, 17 Mar 2015 22:31:05 +0000 (+0000) Subject: Fix for Cmake 3.2.1 on Mac SDK handling X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1a0968335131127ee42caac965598f57f1a983fc;p=simgear.git Fix for Cmake 3.2.1 on Mac SDK handling --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 476d1569..98b9685d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,7 @@ include (CheckCXXCompilerFlag) project(SimGear) # 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") # read 'version' file into a variable (stripping any newlines or spaces) file(READ version versionFile)