aboutsummaryrefslogtreecommitdiffhomepage
path: root/tdutils
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2025-02-13 19:43:52 +0300
committerlevlam <levlam@telegram.org>2025-02-13 19:43:52 +0300
commit1c6b5973b11fbb5b40503aee7d261a98e0ea4143 (patch)
tree9ed42353d9834332cd876bc93ac4f8f5d2aec17b /tdutils
parent0f6612d9305de8f8553cfb06fe7d5f59e3002c4f (diff)
Increase required CMake version to 3.10.
Diffstat (limited to 'tdutils')
-rw-r--r--tdutils/CMakeLists.txt4
-rw-r--r--tdutils/generate/CMakeLists.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/tdutils/CMakeLists.txt b/tdutils/CMakeLists.txt
index f831ba42e..77d0d14cd 100644
--- a/tdutils/CMakeLists.txt
+++ b/tdutils/CMakeLists.txt
@@ -1,5 +1,5 @@
-if ((CMAKE_MAJOR_VERSION LESS 3) OR (CMAKE_VERSION VERSION_LESS "3.0.2"))
- message(FATAL_ERROR "CMake >= 3.0.2 is required")
+if ((CMAKE_MAJOR_VERSION LESS 3) OR (CMAKE_VERSION VERSION_LESS "3.10"))
+ message(FATAL_ERROR "CMake >= 3.10 is required")
endif()
option(TDUTILS_ENABLE_INSTALL "Enable installation of the library." ON)
diff --git a/tdutils/generate/CMakeLists.txt b/tdutils/generate/CMakeLists.txt
index 69b42d914..f89d9059f 100644
--- a/tdutils/generate/CMakeLists.txt
+++ b/tdutils/generate/CMakeLists.txt
@@ -1,5 +1,5 @@
-if ((CMAKE_MAJOR_VERSION LESS 3) OR (CMAKE_VERSION VERSION_LESS "3.0.2"))
- message(FATAL_ERROR "CMake >= 3.0.2 is required")
+if ((CMAKE_MAJOR_VERSION LESS 3) OR (CMAKE_VERSION VERSION_LESS "3.10"))
+ message(FATAL_ERROR "CMake >= 3.10 is required")
endif()
# Generates files for MIME type <-> extension conversions