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

@ -14,7 +14,7 @@ First you need to install the prerequisites:
* Install Rust by following the [Rust Getting Started Guide](https://www.rust-lang.org/learn/get-started). Once this is done,
you should have the ```rustc``` compiler and the ```cargo``` build system installed in your path.
* **cmake** (3.16 or newer)
* **cmake** (3.19 or newer)
* A C++ compiler that supports C++17 (e.g., **MSVC 2019** on Windows)
You can include SixtyFPS in your CMake project using CMake's [`FetchContent`](https://cmake.org/cmake/help/latest/module/FetchContent.html) feature.

View file

@ -11,7 +11,7 @@ Once SixtyFPS is built, you can use it in your CMake application or library targ
A typical example looks like this:
```cmake
cmake_minimum_required(VERSION 3.16)
cmake_minimum_required(VERSION 3.19)
project(my_application LANGUAGES CXX)
# Note: Use find_package(SixtyFPS) instead of the following three commands,