Skip to content

Commit d81d82d

Browse files
committed
Reduce cmake_minimum_required to 3.22
Ubuntu 22.04 CMake is 3.22. Debian stable CMake is 3.25. Debian oldstable (EOL in 2026) has CMake 3.25 in bullseye-backports.
1 parent c1f95a7 commit d81d82d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
# # # # sol2
2424
# # # Required minimum version statement
25-
cmake_minimum_required(VERSION 3.26.0)
25+
cmake_minimum_required(VERSION 3.22)
2626
# # # Project Include - file that is included after project declaration is finished
2727
set(CMAKE_PROJECT_INCLUDE "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Includes/Project.cmake")
2828

documentation/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
# # # # sol2, documentation generation
2424
# # # Required minimum version statement
25-
cmake_minimum_required(VERSION 3.26.0)
25+
cmake_minimum_required(VERSION 3.22)
2626

2727
find_package(Doxygen REQUIRED)
2828
find_package(Python3 REQUIRED)

single/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
# # # # sol3, single
2424
# # # Required minimum version statement
25-
cmake_minimum_required(VERSION 3.26.0)
25+
cmake_minimum_required(VERSION 3.22)
2626

2727
find_package(Python3 REQUIRED)
2828

0 commit comments

Comments
 (0)