Bump minimum required CMake version from 3.16 to 3.19

The upcoming re-organization of the C++ header generation requires the
use of the CORROSION_ENVIRONMENT_VARIABLES target property, which in
turn requires CMake >= 3.19.
This commit is contained in:
Simon Hausmann 2021-09-16 14:27:58 +02:00 committed by Simon Hausmann
parent d2923d51f6
commit 562842f19e
9 changed files with 79 additions and 87 deletions

View file

@ -3,7 +3,7 @@
In this tutorial, we use C++ as the host programming language. We also support other programming languages like
[Rust](https://sixtyfps.io/docs/rust/sixtyfps/) or [JavaScript](https://sixtyfps.io/docs/node/).
You will need a development environment that can compile C++17 with CMake 3.16.
You will need a development environment that can compile C++17 with CMake 3.19.
We do not provide binaries of SixtyFPS yet, so we will use the CMake integration that will automatically build
the tools and library from source. Since it is implemented in the Rust programming language, this means that
you also need to install a Rust compiler (1.48). You can easily install a Rust compiler
@ -14,7 +14,7 @@ In a new directory, we create a new `CMakeLists.txt` file.
```cmake
# CMakeLists.txt
cmake_minimum_required(VERSION 3.16)
cmake_minimum_required(VERSION 3.19)
project(memory LANGUAGES CXX)
include(FetchContent)