Skip to content

Commit 6c87c1b

Browse files
jcpunkjohnbartholomew
authored andcommitted
Add cmake4 to cmake_minimum_required.
Leaving cmake 2.8 may have some long term cost, but for now it all works as expected. External projects will need to manage their own cmake_minimum_required. Signed-off-by: Pat Riehecky <[email protected]>
1 parent de070d6 commit 6c87c1b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8.7)
1+
cmake_minimum_required(VERSION 2.8.7...4.0)
22
project(jsonnet C CXX)
33

44
include(ExternalProject)

CMakeLists.txt.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# CMake script run a generation-time. This must be separate from the main
22
# CMakeLists.txt file to allow downloading and building googletest at generation
33
# time.
4-
cmake_minimum_required(VERSION 2.8.2)
4+
cmake_minimum_required(VERSION 2.8.2...4.0)
55

66
project(googletest-download NONE)
77

0 commit comments

Comments
 (0)