diff --git a/CMakeLists.txt b/CMakeLists.txt index dd17367b..3413ea14 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.7) +cmake_minimum_required(VERSION 2.8.7...4.0) project(jsonnet C CXX) include(ExternalProject) diff --git a/CMakeLists.txt.in b/CMakeLists.txt.in index 41fac662..7f7d802a 100644 --- a/CMakeLists.txt.in +++ b/CMakeLists.txt.in @@ -1,7 +1,7 @@ # CMake script run a generation-time. This must be separate from the main # CMakeLists.txt file to allow downloading and building googletest at generation # time. -cmake_minimum_required(VERSION 2.8.2) +cmake_minimum_required(VERSION 2.8.2...4.0) project(googletest-download NONE)