mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2025-02-27 05:10:43 +00:00
Set OS X min version for both C and C++ source files
MD-19720 #time 30m
This commit is contained in:
parent
ddce2d6e73
commit
5d2ce7e8c3
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ if (APPLE)
|
||||||
|
|
||||||
# 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.5 and above.
|
||||||
set(MIN_OSX_VERSION 10.5)
|
set(MIN_OSX_VERSION 10.5)
|
||||||
|
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 a new issue