mirror of
https://github.com/eclipse/wakaama.git
synced 2025-05-08 23:31:37 +08:00
cmake: Require version 3.21
CMake 3.21 does not remove a normal variable if a cache variable of the same name is set. This is the CMake policy CMP0126.
This commit is contained in:
parent
0c811ae3ed
commit
96ac07b24a
@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.20)
|
||||
cmake_minimum_required(VERSION 3.21)
|
||||
|
||||
project(wakaama C)
|
||||
|
||||
|
@ -106,7 +106,7 @@ If `NONE` is chosen, the user of Wakaama needs to implement a custom transport l
|
||||
- Mandatory:
|
||||
- Compiler: GCC and/or Clang
|
||||
- Optional (but strongly recommended):
|
||||
- Build system generator: CMake 3.13+
|
||||
- Build system generator: CMake 3.21+
|
||||
- Version control system: Git (and a GitHub account)
|
||||
- Git commit message linter: gitlint
|
||||
- Build system: ninja
|
||||
|
@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
cmake_minimum_required(VERSION 3.21)
|
||||
|
||||
# Our examples are designed for POSIX systems
|
||||
add_compile_definitions(_POSIX_C_SOURCE=200809)
|
||||
|
@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
cmake_minimum_required(VERSION 3.21)
|
||||
|
||||
project(bootstrap_server C)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
cmake_minimum_required(VERSION 3.21)
|
||||
|
||||
project(lwm2mclient C)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
cmake_minimum_required(VERSION 3.21)
|
||||
|
||||
project(lightclient C)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
cmake_minimum_required(VERSION 3.21)
|
||||
|
||||
project(lwm2mserver C)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
cmake_minimum_required(VERSION 3.21)
|
||||
|
||||
project(lwm2munittests C)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user