mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2024-11-10 06:31:49 +00:00
Build the updater using the Mac OS X 10.5 SDK
Mendeley Desktop is currently built for Mac OS 10.5 and newer, so the updater needs to work on the same platforms. With this change, it will not be possible to build the updater on Mac OS 10.7 directly.
This commit is contained in:
parent
000eea3553
commit
b33170c408
1 changed files with 9 additions and 0 deletions
|
@ -13,6 +13,15 @@ endif()
|
|||
|
||||
if (APPLE)
|
||||
set(CMAKE_OSX_ARCHITECTURES i386;x86_64)
|
||||
|
||||
# Build the updater so that it works on OS X 10.5 and above.
|
||||
# If you are building on OS X 10.7 or newer, you will need to up
|
||||
# this target - depending on the versions of the Mac OS X SDK that
|
||||
# are available to build with in /Developer/SDKs/
|
||||
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.5)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET}")
|
||||
set(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX${CMAKE_OSX_DEPLOYMENT_TARGET}.sdk")
|
||||
endif()
|
||||
|
||||
add_subdirectory(src)
|
||||
|
|
Loading…
Reference in a new issue