Skip to content

Commit 0df482f

Browse files
ceolintomi-font
authored andcommitted
cmake: Bump minimum cmake to 3.20.0
Zephyr uses cmake 3.20.0 as the minimum version for a long time. Set the same requirement here to avoid possible issues in future. Fixes zephyrproject-rtos/zephyr#92679 Signed-off-by: Flavio Ceolin <[email protected]> Signed-off-by: Tomi Fontanilles <[email protected]>
1 parent 85440ef commit 0df482f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

CMakeLists.txt

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

1919
# We specify a minimum requirement of 3.10.2, but for now use 3.5.1 here
2020
# until our infrastructure catches up.
21-
cmake_minimum_required(VERSION 3.5.1)
21+
cmake_minimum_required(VERSION 3.20.0)
2222

2323
include(CMakePackageConfigHelpers)
2424

programs/test/cmake_package/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.5.1)
1+
cmake_minimum_required(VERSION 3.20.0)
22

33
#
44
# Simulate configuring and building Mbed TLS as the user might do it. We'll

programs/test/cmake_package_install/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.5.1)
1+
cmake_minimum_required(VERSION 3.20.0)
22

33
#
44
# Simulate configuring and building Mbed TLS as the user might do it. We'll

programs/test/cmake_subproject/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.5.1)
1+
cmake_minimum_required(VERSION 3.20.0)
22

33
# Test the target renaming support by adding a prefix to the targets built
44
set(MBEDTLS_TARGET_PREFIX subproject_test_)

0 commit comments

Comments
 (0)