Fix the updater on OS X

This commit is contained in:
Jan Dalheimer 2015-02-16 22:05:39 +01:00
parent c6c5134398
commit f9a17eb9de

View File

@ -40,8 +40,8 @@ if(APPLE)
# of the updater binary
set(CMAKE_OSX_ARCHITECTURES i386;x86_64)
# Build the updater so that it works on OS X 10.5 and above.
set(MIN_OSX_VERSION 10.5)
# Build the updater so that it works on OS X 10.7 and above.
set(MIN_OSX_VERSION 10.7)
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}")
endif()