]> git.mxchange.org Git - simgear.git/commitdiff
Set macos-min-version for C files too
authorJames Turner <zakalawe@mac.com>
Thu, 10 Dec 2015 20:53:17 +0000 (14:53 -0600)
committerJames Turner <zakalawe@mac.com>
Thu, 10 Dec 2015 20:53:17 +0000 (14:53 -0600)
Should fix another 10.7 issues (Nasal code is .c)

CMakeLists.txt

index 6db62d7551ca4c2d782e86e7b0aa56b284174766..f7220c5734a71523795c26e64c95c0d61df51a5e 100644 (file)
@@ -178,6 +178,7 @@ if(APPLE)
 # this should be handled by setting CMAKE_OSX_DEPLOYMENT_TARGET
 # but it's not working reliably, so forcing it for now
   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