Rename embed-resources parameters fro the Slint compiler

This commit is contained in:
Tobias Hunger 2023-03-09 14:35:33 +01:00 committed by Tobias Hunger
parent bad588e1e4
commit c5ecade881
3 changed files with 17 additions and 18 deletions

View file

@ -2,10 +2,10 @@
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
# Set up machinery to handle SLINT_EMBED_RESOURCES target property
set(DEFAULT_SLINT_EMBED_RESOURCES as-paths CACHE STRING
set(DEFAULT_SLINT_EMBED_RESOURCES as-absolute-path CACHE STRING
"The default resource embedding option to pass to the Slint compiler")
set_property(CACHE DEFAULT_SLINT_EMBED_RESOURCES PROPERTY STRINGS
"as-paths" "as-contents" "as-textures")
"as-absolute-path" "embed-files" "embed-for-software-renderer")
define_property(TARGET PROPERTY SLINT_EMBED_RESOURCES
INITIALIZE_FROM_VARIABLE DEFAULT_SLINT_EMBED_RESOURCES)