Skip to content

Commit

Permalink
cmake: samples: Update minimum cmake version to 3.20
Browse files Browse the repository at this point in the history
Zephyr has increasing the minimum required CMake version to 3.20.0.
See: zephyrproject-rtos/zephyr#37575

A few samples were missing this update.

Signed-off-by: Joakim Andersson <[email protected]>
  • Loading branch information
joerchan committed Oct 21, 2022
1 parent c5873fb commit 88ba9b0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion samples/bluetooth/nrf_dm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
cmake_minimum_required(VERSION 3.13.1)
cmake_minimum_required(VERSION 3.20)

find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(nrf_dm)
Expand Down
2 changes: 1 addition & 1 deletion samples/bluetooth/peripheral_rscs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
cmake_minimum_required(VERSION 3.13.1)
cmake_minimum_required(VERSION 3.20)

find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(NONE)
Expand Down
2 changes: 1 addition & 1 deletion samples/keys/hw_unique_key/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#

# Building TFM requires Cmake 3.15.
cmake_minimum_required(VERSION 3.15)
cmake_minimum_required(VERSION 3.20)

find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})

Expand Down
2 changes: 1 addition & 1 deletion samples/nrf9160/location/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

cmake_minimum_required(VERSION 3.13.1)
cmake_minimum_required(VERSION 3.20)

find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(location_sample)
Expand Down

0 comments on commit 88ba9b0

Please sign in to comment.