[Bf-blender-cvs] [03b2fc1a615] master: CMake: Cleanup, remove unneeded version requirement

Sergey Sharybin noreply at git.blender.org
Thu Mar 26 09:04:06 CET 2020


Commit: 03b2fc1a615b442902a6565b27b73d1c5bf4ecbe
Author: Sergey Sharybin
Date:   Thu Mar 26 09:02:10 2020 +0100
Branches: master
https://developer.blender.org/rB03b2fc1a615b442902a6565b27b73d1c5bf4ecbe

CMake: Cleanup, remove unneeded version requirement

The main CMakeLists already requires CMake 3.5, so there is no point of
requiring "newer" CMake on macOS.

This was a code from a while back where CMake 3 was not required on all
platforms.

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

M	build_files/cmake/platform/platform_apple_xcode.cmake

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

diff --git a/build_files/cmake/platform/platform_apple_xcode.cmake b/build_files/cmake/platform/platform_apple_xcode.cmake
index 6371bd9b288..56514edab4b 100644
--- a/build_files/cmake/platform/platform_apple_xcode.cmake
+++ b/build_files/cmake/platform/platform_apple_xcode.cmake
@@ -20,10 +20,6 @@
 
 # Xcode and system configuration for Apple.
 
-# require newer cmake on osx because of version handling,
-# older cmake cannot handle 2 digit subversion!
-cmake_minimum_required(VERSION 3.0.0)
-
 if(NOT CMAKE_OSX_ARCHITECTURES)
   set(CMAKE_OSX_ARCHITECTURES x86_64 CACHE STRING
     "Choose the architecture you want to build Blender for: i386, x86_64 or ppc"



More information about the Bf-blender-cvs mailing list