Stabilize the sdf-fonts feature

Enable the SDF feature by default in our compiler binaries

(Still disabled by default for other users because it takes up compile
time for something they probably don't need)
This commit is contained in:
Olivier Goffart 2025-02-19 21:24:53 +01:00 committed by GitHub
parent 28f83c64e2
commit 1e814c9bdc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 68 additions and 15 deletions

View file

@ -5,7 +5,7 @@
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-absolute-path" "embed-files" "embed-for-software-renderer")
"as-absolute-path" "embed-files" "embed-for-software-renderer" "embed-for-software-renderer-and-sdf-fonts")
## This requires CMake 3.23 and does not work in 3.26 AFAICT.
# define_property(TARGET PROPERTY SLINT_EMBED_RESOURCES
# INITIALIZE_FROM_VARIABLE DEFAULT_SLINT_EMBED_RESOURCES)