Merge pull request #1502 from bmiklautz/osx_deployment_target

osx build: make 10.7 default deployment target
This commit is contained in:
Marc-André Moreau 2013-09-23 14:32:25 -07:00
commit 1f63ac625c

View File

@ -248,7 +248,7 @@ if(APPLE)
set_property(GLOBAL PROPERTY XCODE_ATTRIBUTE_SKIP_INSTALL YES)
else()
if(NOT DEFINED CMAKE_OSX_DEPLOYMENT_TARGET OR CMAKE_OSX_DEPLOYMENT_TARGET MATCHES "")
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.6 CACHE STRING "OSX deployment target" FORCE)
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.7 CACHE STRING "OSX deployment target" FORCE)
endif()
if(NOT DEFINED CMAKE_OSX_ARCHITECTURES)