From ca4b5ff2ea1f0b7637c7c5badcc6b52daaf35f4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= <klinkovsky@mmg.fjfi.cvut.cz>
Date: Thu, 14 Oct 2021 15:38:49 +0200
Subject: [PATCH] CMake: update minimum required version to avoid a deprecation
 warning

---
 cmake/Gtest.cmake.in         | 2 +-
 src/Python/pybind11.cmake.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/Gtest.cmake.in b/cmake/Gtest.cmake.in
index 5a04708371..ef5daa29bb 100644
--- a/cmake/Gtest.cmake.in
+++ b/cmake/Gtest.cmake.in
@@ -5,7 +5,7 @@
 # Copied from upstream documentation:
 # https://github.com/google/googletest/tree/master/googletest#incorporating-into-an-existing-cmake-project
 
-cmake_minimum_required(VERSION 2.8.2)
+cmake_minimum_required(VERSION 2.8.12)
 
 project(googletest-download NONE)
 
diff --git a/src/Python/pybind11.cmake.in b/src/Python/pybind11.cmake.in
index 1f28673a1d..a5ae1e2fb1 100644
--- a/src/Python/pybind11.cmake.in
+++ b/src/Python/pybind11.cmake.in
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8.2)
+cmake_minimum_required(VERSION 2.8.12)
 
 project(pybind11-download)
 include(ExternalProject)
-- 
GitLab