cmake: Bump minimal cmake version to 3.23

This commit is contained in:
Tobias Hunger 2023-03-08 09:53:54 +01:00 committed by Tobias Hunger
parent a45596b251
commit 52a70b7d89
18 changed files with 19 additions and 19 deletions

View file

@ -1,7 +1,7 @@
# Copyright © SixtyFPS GmbH <info@slint-ui.com>
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
cmake_minimum_required(VERSION 3.19)
cmake_minimum_required(VERSION 3.23)
project(Slint HOMEPAGE_URL "https://slint-ui.com/" LANGUAGES CXX)
include(FeatureSummary)

View file

@ -25,7 +25,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](https://cmake.org/download/)** (3.21 or newer)
* **[cmake](https://cmake.org/download/)** (3.23 or newer)
* A C++ compiler that supports C++20 (e.g., **MSVC 2019 16.6** on Windows)
You can include Slint in your CMake project using CMake's `FetchContent` feature. Insert the following snippet into your

View file

@ -42,7 +42,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). If you already
have Rust installed, make sure that it's at least version 1.60 or newer. You can check which version you have installed
by running `rustc --version`. Once this is done, you should have the ```rustc``` compiler and the ```cargo``` build system installed in your path.
* **[cmake](https://cmake.org/download/)** (3.21 or newer)
* **[cmake](https://cmake.org/download/)** (3.23 or newer)
* A C++ compiler that supports C++20 (e.g., **MSVC 2019 16.6** on Windows)
You can include Slint into your CMake project using CMake's

View file

@ -15,7 +15,7 @@ target in two steps:
A minimal CMake `CMakeLists.txt` file looks like this:
```cmake
cmake_minimum_required(VERSION 3.21)
cmake_minimum_required(VERSION 3.23)
project(my_application LANGUAGES CXX)
# Note: Use find_package(Slint) instead of the following three commands,