[Bf-blender-cvs] [62893dc] master: OSX/cmake: OSX 10.10 must be used with cmake 3.0.0 minimum, older thinks 10.6 is higher than 10.10 :)

Jens Verwiebe noreply at git.blender.org
Wed Sep 17 20:42:36 CEST 2014


Commit: 62893dc398560ec5c36526ac9b617399ef12413e
Author: Jens Verwiebe
Date:   Wed Sep 17 20:42:21 2014 +0200
Branches: master
https://developer.blender.org/rB62893dc398560ec5c36526ac9b617399ef12413e

OSX/cmake: OSX 10.10 must be used with cmake 3.0.0 minimum, older thinks 10.6 is higher than 10.10 :)

===================================================================

M	CMakeLists.txt

===================================================================

diff --git a/CMakeLists.txt b/CMakeLists.txt
index adc2b71..9f6d052 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -330,6 +330,7 @@ if(APPLE)
 	execute_process(COMMAND uname -r OUTPUT_VARIABLE MAC_SYS) # check for actual system-version
 	if(${MAC_SYS} MATCHES 14)
 		set(OSX_SYSTEM 10.10)
+        cmake_minimum_required(VERSION 3.0.0) # throw an error here, older cmake cannot handle 2 digit subversion !
 	elseif(${MAC_SYS} MATCHES 13)
 		set(OSX_SYSTEM 10.9)
 	elseif(${MAC_SYS} MATCHES 12)




More information about the Bf-blender-cvs mailing list