cmake: Fix SLINT_EMBED_RESOURCES

* Do not use the initialize_from feature introduced in cmake 3.23
This commit is contained in:
Tobias Hunger 2023-03-27 12:49:45 +02:00 committed by Tobias Hunger
parent a5bdd07fbb
commit 6934b7b779
19 changed files with 24 additions and 21 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.23)
cmake_minimum_required(VERSION 3.21)
if (NOT TARGET Slint::Slint)
find_package(Slint REQUIRED)

View file

@ -14,7 +14,7 @@ In a new directory, we create a new `CMakeLists.txt` file.
```cmake
# CMakeLists.txt
cmake_minimum_required(VERSION 3.23)
cmake_minimum_required(VERSION 3.21)
project(memory LANGUAGES CXX)
include(FetchContent)