From 7dd7fdaf71dc810743063c1f7e82919944d48206 Mon Sep 17 00:00:00 2001 From: Nico Mexis Date: Mon, 17 Jan 2022 12:46:33 +0100 Subject: [PATCH] Update CMake minimum requirement (#380) --- CMakeLists.txt | 2 +- CMakePresets.json | 2 +- README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 181876fb..64bf5c22 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.12) +cmake_minimum_required(VERSION 3.14) project(Darkflame) include(CTest) diff --git a/CMakePresets.json b/CMakePresets.json index 2e2f9bb8..241220e0 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -2,7 +2,7 @@ "version": 3, "cmakeMinimumRequired": { "major": 3, - "minor": 12, + "minor": 14, "patch": 0 }, "configurePresets": [ diff --git a/README.md b/README.md index aee2ae84..47f116db 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ If you're using a DLU client you'll have to go into the "CMakeVariables.txt" fil ### Linux builds Make sure packages like `gcc`, `cmake`, and `zlib` are installed. Depending on the distribution, these packages might already be installed. Note that on systems like Ubuntu, you will need the `zlib1g-dev` package so that the header files are available. -cmake must be version 3.12 or higher! +CMake must be version 3.14 or higher! **Build the repository**