diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2014-09-17 22:42:21 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2014-09-17 22:42:21 +0400 |
commit | 62893dc398560ec5c36526ac9b617399ef12413e (patch) | |
tree | 31ff5f85e1091b6aa21fa408e25765389092ef1a /CMakeLists.txt | |
parent | 59a38ccc4239a407e8954abd2250a68540a84e59 (diff) |
OSX/cmake: OSX 10.10 must be used with cmake 3.0.0 minimum, older thinks 10.6 is higher than 10.10 :)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index adc2b715cea..9f6d052d766 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) |