mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-06 18:40:34 +00:00
cmake: Bump minimal cmake version to 3.23
This commit is contained in:
parent
a45596b251
commit
52a70b7d89
18 changed files with 19 additions and 19 deletions
|
@ -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.14)
|
||||
cmake_minimum_required(VERSION 3.23)
|
||||
|
||||
if (NOT TARGET Slint::Slint)
|
||||
find_package(Slint REQUIRED)
|
||||
|
|
|
@ -14,7 +14,7 @@ In a new directory, we create a new `CMakeLists.txt` file.
|
|||
|
||||
```cmake
|
||||
# CMakeLists.txt
|
||||
cmake_minimum_required(VERSION 3.21)
|
||||
cmake_minimum_required(VERSION 3.23)
|
||||
project(memory LANGUAGES CXX)
|
||||
|
||||
include(FetchContent)
|
||||
|
@ -79,6 +79,6 @@ memory_game
|
|||
Feel free to use your favorite IDE for this purpose, or use out-of-tree build, or Ninja, ...
|
||||
We just keep it simple here for the purpose of this blog.
|
||||
|
||||
*Note*: When configuring with CMake, the FetchContent module will fetch the source code of Slint via git.
|
||||
_Note_: When configuring with CMake, the FetchContent module will fetch the source code of Slint via git.
|
||||
this may take some time. When building for the first time, the first thing that need to be build
|
||||
is the Slint runtime and compiler, this can take a few minutes.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue