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
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ if(APPLE)
set_property(GLOBAL PROPERTY XCODE_ATTRIBUTE_SKIP_INSTALL YES) set_property(GLOBAL PROPERTY XCODE_ATTRIBUTE_SKIP_INSTALL YES)
else() else()
if(NOT DEFINED CMAKE_OSX_DEPLOYMENT_TARGET OR CMAKE_OSX_DEPLOYMENT_TARGET MATCHES "") 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() endif()
if(NOT DEFINED CMAKE_OSX_ARCHITECTURES) if(NOT DEFINED CMAKE_OSX_ARCHITECTURES)