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 | |
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.
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-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 | ||||
-rw-r--r-- | protocols/Telegram/tdlib/td/CMakeLists.txt | 2 | ||||
-rw-r--r-- | protocols/Telegram/tdlib/td/td/generate/tl-parser/CMakeLists.txt | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1f78815aec..5867d9e860 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 2.8) +cmake_minimum_required (VERSION 3.11) project (Miranda) 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) diff --git a/protocols/Telegram/tdlib/td/CMakeLists.txt b/protocols/Telegram/tdlib/td/CMakeLists.txt index 5756b5687c..9ec780b2cd 100644 --- a/protocols/Telegram/tdlib/td/CMakeLists.txt +++ b/protocols/Telegram/tdlib/td/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR) +cmake_minimum_required(VERSION 3.11) if (POLICY CMP0065) # do not export symbols from executables diff --git a/protocols/Telegram/tdlib/td/td/generate/tl-parser/CMakeLists.txt b/protocols/Telegram/tdlib/td/td/generate/tl-parser/CMakeLists.txt index 6cf5331f4b..03e5a1631b 100644 --- a/protocols/Telegram/tdlib/td/td/generate/tl-parser/CMakeLists.txt +++ b/protocols/Telegram/tdlib/td/td/generate/tl-parser/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.11) if (POLICY CMP0065) # do not export symbols from executables |