]> git.mxchange.org Git - simgear.git/commitdiff
Set min-macos-version for Cmake 3.2.1
authorJames Turner <zakalawe@mac.com>
Tue, 17 Mar 2015 16:56:17 +0000 (16:56 +0000)
committerRoland Haeder <roland@mxchange.org>
Sat, 13 Aug 2016 08:21:16 +0000 (10:21 +0200)
CMakeLists.txt

index 7329f0bf5c9acfae6959ce8090be498d3e9ba12a..51d6c4afd6a090f09113b80d9f3950f804e22f3c 100644 (file)
@@ -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