All: Compile C code with minimum OS X version 10.6

This commit is contained in:
Jeffrey Pfau 2014-12-21 22:28:57 -08:00
parent 0d4999ff33
commit 458df43d18
1 changed files with 1 additions and 0 deletions

View File

@ -114,6 +114,7 @@ else()
endif() endif()
if(APPLE) if(APPLE)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mmacosx-version-min=10.6")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.7 -stdlib=libc++") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.7 -stdlib=libc++")
endif() endif()