Bump deployment target from OS X 10.5 to 10.6

MD-20245
test: none
This commit is contained in:
Robert Knight 2014-05-28 17:11:36 +01:00
parent bb9c0bbc80
commit f6ded2035f

View file

@ -43,8 +43,8 @@ if (APPLE)
# of the updater binary # of the updater binary
set(CMAKE_OSX_ARCHITECTURES i386;x86_64) set(CMAKE_OSX_ARCHITECTURES i386;x86_64)
# Build the updater so that it works on OS X 10.5 and above. # Build the updater so that it works on OS X 10.6 and above.
set(MIN_OSX_VERSION 10.5) set(MIN_OSX_VERSION 10.6)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mmacosx-version-min=${MIN_OSX_VERSION}") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mmacosx-version-min=${MIN_OSX_VERSION}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=${MIN_OSX_VERSION}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=${MIN_OSX_VERSION}")
endif() endif()