]> git.mxchange.org Git - simgear.git/commitdiff
Fix for Cmake 3.2.1 on Mac SDK handling
authorJames Turner <zakalawe@mac.com>
Tue, 17 Mar 2015 22:31:05 +0000 (22:31 +0000)
committerJames Turner <zakalawe@mac.com>
Tue, 17 Mar 2015 22:31:05 +0000 (22:31 +0000)
CMakeLists.txt

index 476d1569da9c7968e7d3a9de69540f2214a209e4..98b9685d156596f251eaaa14c0e7b6f985ac24d7 100644 (file)
@@ -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)