diff --git a/cmake/Gtest.cmake.in b/cmake/Gtest.cmake.in
index 5a0470837137d1bdab043da3eb6e76bc0e80e28f..ef5daa29bbbb763ac02bc0366f25ecc3f77b0a49 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 1f28673a1d1990fe50470ee5f39ae7cb216c7c59..a5ae1e2fb12804e018d1d3dc7e378d6c119a631a 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)