mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
CMake: detect OS X 10.11 / Xcode 7.
This commit is contained in:
parent
8621f480bf
commit
690621bd24
1 changed files with 5 additions and 1 deletions
|
|
@ -511,7 +511,11 @@ if(APPLE)
|
|||
endif()
|
||||
|
||||
execute_process(COMMAND uname -r OUTPUT_VARIABLE MAC_SYS) # check for actual system-version
|
||||
if(${MAC_SYS} MATCHES 14)
|
||||
if(${MAC_SYS} MATCHES 15)
|
||||
set(OSX_SYSTEM 10.11)
|
||||
# throw an error here, older cmake cannot handle 2 digit subversion!
|
||||
cmake_minimum_required(VERSION 3.0.0)
|
||||
elseif(${MAC_SYS} MATCHES 14)
|
||||
set(OSX_SYSTEM 10.10)
|
||||
# throw an error here, older cmake cannot handle 2 digit subversion!
|
||||
cmake_minimum_required(VERSION 3.0.0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue