mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-02-05 18:40:21 +00:00
tools: fix CMake deprecation warnings (#1477)
Running a build with a newer CMake version results in a deprecation warning from the tools subdirectory [13/108] Performing configure step for 'PioasmBuild' loading initial cache file /.../build/pico-sdk/src/rp2_common/pico_cyw43_driver/pioasm/tmp/PioasmBuild-cache-Release.cmake CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. Raise the minimum version requirement for the tools to the same version that is required in the top-level CMakeLists.txt anyway.
This commit is contained in:
parent
81b3200df4
commit
f85d67961c
@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.12)
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
project(elf2uf2)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
|
@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.4)
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
project(pioasm CXX)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
|
Loading…
x
Reference in New Issue
Block a user