Skip to content

Commit 05d507d

Browse files
Eero Aaltonenjaredgrubb
authored andcommitted
Increase cmake_minimum_required to 3.5
CMake version 3.27 deprecates compatibility with versions older than 3.5. Increase the minimum required so that the project can be built without warnings.
1 parent 400e6dd commit 05d507d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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 3.1)
1+
cmake_minimum_required(VERSION 3.5)
22
project(docopt.cpp VERSION 0.6.2)
33

44
include(GNUInstallDirs)

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Alternatively manual installation is done using (unix)::
8787
To link *docopt.cpp*, the simplest is to use CMake. The general structure of your
8888
``CMakeLists.txt`` would be as follows::
8989

90-
cmake_minimum_required(VERSION 3.1)
90+
cmake_minimum_required(VERSION 3.5)
9191

9292
project(example)
9393

0 commit comments

Comments
 (0)