diff --git a/CMakeLists.txt b/CMakeLists.txt index 314b7f6a..dad26e03 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.7) +cmake_minimum_required(VERSION 3.7...3.28) project(putty LANGUAGES C) set(CMAKE_C_STANDARD 99) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index ef77eb12..35673996 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.7) +cmake_minimum_required(VERSION 3.7...3.28) project(putty-documentation LANGUAGES) # This build script can be run standalone, or included as a diff --git a/test/sclog/CMakeLists.txt b/test/sclog/CMakeLists.txt index 8a8ac570..9f9f75f9 100644 --- a/test/sclog/CMakeLists.txt +++ b/test/sclog/CMakeLists.txt @@ -2,7 +2,7 @@ # goes with the PuTTY test binary 'testsc'. For build instructions see # the comment at the top of testsc.c. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.7...3.28) project(sclog LANGUAGES C)