mirror of
https://github.com/overte-org/overte.git
synced 2025-07-25 00:16:44 +02:00
Replace MACOSX_DEPLOYMENT_TARGET environment variable with CMAKE_OSX_DEPLOYMENT_TARGET cache variable.
This commit is contained in:
parent
3b06290e46
commit
e3fd9cbc55
1 changed files with 2 additions and 2 deletions
|
@ -20,9 +20,9 @@ set(CMAKE_AUTOMOC ON)
|
|||
set(CMAKE_AUTORCC ON)
|
||||
|
||||
# set our OS X deployment target
|
||||
# (needs to be set before first project() call and before prebuild.py)
|
||||
if (APPLE)
|
||||
set(ENV{MACOSX_DEPLOYMENT_TARGET} 10.11)
|
||||
# Needs to be set before the first project() call.
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.11" CACHE STRING "Specifies the minimum version of the target platform (e.g. macOS or iOS) on which the target binaries are to be deployed.")
|
||||
endif()
|
||||
|
||||
set(EXTERNAL_BUILD_ASSETS "https://build-deps.overte.org")
|
||||
|
|
Loading…
Reference in a new issue