[Bf-blender-cvs] [76d489fe233] blender-v2.90-release: Bump minimum CMake version to 3.10

Sybren A. Stüvel noreply at git.blender.org
Tue Jul 28 14:20:24 CEST 2020


Commit: 76d489fe233ecc2e3309597b3054ff6e408a3e9a
Author: Sybren A. Stüvel
Date:   Tue Jul 28 14:17:13 2020 +0200
Branches: blender-v2.90-release
https://developer.blender.org/rB76d489fe233ecc2e3309597b3054ff6e408a3e9a

Bump minimum CMake version to 3.10

This bumps the minimally required CMake version from 3.5 to 3.10, as
discussed in D8405.

Since D7649 landed, there has been the `gtest_discover_tests()` call to
discover individual unit tests in `bin/tests/blender_test`. This
function was introduced in CMake 3.10.

Since there were no complaints about this incompatibility, I suspect
that a newer version is already in use by the majority of the
Blender-building people.

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

M	CMakeLists.txt

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

diff --git a/CMakeLists.txt b/CMakeLists.txt
index cc0e5a2491f..bc4d4e032af 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,7 +41,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
   endif()
 endif()
 
-cmake_minimum_required(VERSION 3.5)
+cmake_minimum_required(VERSION 3.10)
 
 # Prever LEGACY OpenGL to eb compatible with all the existing releases and
 # platforms which don't hare GLVND yet. Only do it if preference was not set



More information about the Bf-blender-cvs mailing list