From f58c6d9cc982b841a201bb2a8693a1908744e201 Mon Sep 17 00:00:00 2001 From: graham sanderson Date: Sun, 31 Jan 2021 15:31:40 -0600 Subject: [PATCH] bump cmake minimum version to 3.13 --- CMakeLists.txt | 2 +- README.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 86d2f54..9b3ca37 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.12) +cmake_minimum_required(VERSION 3.13) if (NOT TARGET _pico_sdk_inclusion_marker) add_library(_pico_sdk_inclusion_marker INTERFACE) include(pico_sdk_init.cmake) diff --git a/README.md b/README.md index bb58942..45df064 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ See [pico-examples](https://github.com/raspberrypi/pico-examples) for example co These instructions are exteremly terse, and Linux based only. For detailed steps, instructions for other platforms, and just in general, we recommend you see [Raspberry Pi Pico C/C++ SDK](https://rptl.io/pico-c-sdk) -1. Install CMake (at least version 3.12), and GCC cross compiler +1. Install CMake (at least version 3.13), and GCC cross compiler ``` sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi ``` @@ -50,7 +50,7 @@ instructions for other platforms, and just in general, we recommend you see [Ras 3. Setup a `CMakeLists.txt` like: ```cmake - cmake_minimum_required(VERSION 3.12) + cmake_minimum_required(VERSION 3.13) # initialize the SDK based on PICO_SDK_PATH # note: this must happen before project() @@ -70,7 +70,7 @@ instructions for other platforms, and just in general, we recommend you see [Ras 1. Setup a `CMakeLists.txt` like: ```cmake - cmake_minimum_required(VERSION 3.12) + cmake_minimum_required(VERSION 3.13) # initialize pico-sdk from submodule # note: this must happen before project() @@ -91,7 +91,7 @@ instructions for other platforms, and just in general, we recommend you see [Ras 1. Setup a `CMakeLists.txt` like: ```cmake - cmake_minimum_required(VERSION 3.12) + cmake_minimum_required(VERSION 3.13) # initialize pico-sdk from GIT # (note this can come from environment, CMake cache etc)