From 76d489fe233ecc2e3309597b3054ff6e408a3e9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 28 Jul 2020 14:17:13 +0200 Subject: [PATCH] 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. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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