Commit 49ac41de for tesseract
commit 49ac41de31d3ad3826272e2b2158552cb6b6ed5d
Author: Amit Dovev <amitdev2222@gmail.com>
Date: Wed Oct 7 11:48:16 2026 +0300
Update minimum CMake version to 3.22
All the LTS Linux distros we support have at least CMake 3.22 available in their official repos.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 45d431aa..52c9591a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,8 +8,8 @@
#
# ##############################################################################
-# Require CMake 3.18 for modern features like precompiled headers, unity builds, and better target management
-cmake_minimum_required(VERSION 3.18 FATAL_ERROR)
+# Require CMake 3.22 for modern features like precompiled headers, unity builds, and better target management
+cmake_minimum_required(VERSION 3.22 FATAL_ERROR)
# In-source builds are disabled.
if("${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")