Fix the updater on OS X
This commit is contained in:
parent
c6c5134398
commit
f9a17eb9de
@ -40,8 +40,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.7 and above.
|
||||||
set(MIN_OSX_VERSION 10.5)
|
set(MIN_OSX_VERSION 10.7)
|
||||||
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()
|
||||||
|
Loading…
Reference in New Issue
Block a user