diff options
author | Sergey Ponomarev <stokito@gmail.com> | 2024-09-07 10:32:26 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-09-07 12:44:33 +0300 |
commit | fe87f56f612237182ce76873ae090fcecc1af02e (patch) | |
tree | 59de5e8d93bf5175d369d768dbebd474f5c22d7a /libs | |
parent | dd93365a63c1f051e4b453ee974a1708900c49ac (diff) |
cmake: require cmake 3.11
The main CMakeLists.txt had cmake_minimum_required (VERSION 2.8).
This made the cmake to show a deprecation notice that support of all versions below 3.5 will be dropped soon.
The maximum required cmake version is 3.11 for the litehtml module.
So let's set it as a minimum for all other modules.
The FATAL_ERROR option is ignored in CMake >= 2.6.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/libmdbx/src/CMakeLists.txt | 2 | ||||
-rw-r--r-- | libs/libqrencode/src/CMakeLists.txt | 2 | ||||
-rw-r--r-- | libs/litehtml/src/gumbo/CMakeLists.txt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libs/libmdbx/src/CMakeLists.txt b/libs/libmdbx/src/CMakeLists.txt index b0a1d4604d..df5866ceb5 100644 --- a/libs/libmdbx/src/CMakeLists.txt +++ b/libs/libmdbx/src/CMakeLists.txt @@ -34,7 +34,7 @@ ## The Future will (be) Positive. Всё будет хорошо. ## -cmake_minimum_required(VERSION 3.8.2) +cmake_minimum_required(VERSION 3.11) cmake_policy(PUSH) cmake_policy(VERSION 3.8.2) diff --git a/libs/libqrencode/src/CMakeLists.txt b/libs/libqrencode/src/CMakeLists.txt index bfc51ac224..3aa30f40db 100644 --- a/libs/libqrencode/src/CMakeLists.txt +++ b/libs/libqrencode/src/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.11) project(QRencode VERSION 4.1.0 LANGUAGES C) diff --git a/libs/litehtml/src/gumbo/CMakeLists.txt b/libs/litehtml/src/gumbo/CMakeLists.txt index 17843c9890..cd55186a15 100644 --- a/libs/litehtml/src/gumbo/CMakeLists.txt +++ b/libs/litehtml/src/gumbo/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.11) project(gumbo C) |