stm32 docs: Set SLINT_EMBED_RESOURCES target property instead of DEFAULT_SLINT_EMBED_RESOURCES as global variable

This commit is contained in:
Simon Hausmann 2024-09-20 09:20:28 +02:00 committed by Simon Hausmann
parent ec4a95f031
commit 9534aaa155

View file

@ -28,7 +28,7 @@ as well as the peripherals of our board.
find_package(Slint)
# Default to pre-compiling images and fonts
set(DEFAULT_SLINT_EMBED_RESOURCES embed-for-software-renderer)
set_target_properties(your-target PROPERTIES SLINT_EMBED_RESOURCES embed-for-software-renderer)
# Replace $BSP_NAME with the name of your concrete BSP,
# for example stm32h735g_discovery.