From 1a0968335131127ee42caac965598f57f1a983fc Mon Sep 17 00:00:00 2001 From: James Turner Date: Tue, 17 Mar 2015 22:31:05 +0000 Subject: [PATCH] Fix for Cmake 3.2.1 on Mac SDK handling --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5