mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 20:31:27 +00:00
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:
parent
28f83c64e2
commit
1e814c9bdc
12 changed files with 68 additions and 15 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue