All: Compile C code with minimum OS X version 10.6
Jeffrey Pfau jeffrey@endrift.com
Sun, 21 Dec 2014 22:28:57 -0800
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
CMakeLists.txt
→
CMakeLists.txt
@@ -114,6 +114,7 @@ source_group("POSIX-specific code" FILES ${OS_SRC})
endif() 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++") endif()