1
0
Fork 0

ThorVG: Explicitly enable embedded texture support with THORVG_FILE_IO_SUPPORT

This was made opt-in in 0.15.6 so we need to define it now.

Co-authored-by: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
This commit is contained in:
Rémi Verschelde 2025-02-12 19:04:53 +01:00
parent f418603522
commit 26ac8ce50f
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,8 @@ env_svg.Prepend(CPPPATH=[thirdparty_dir + "inc"])
# Enable ThorVG static object linking. # Enable ThorVG static object linking.
env_svg.Append(CPPDEFINES=["TVG_STATIC"]) env_svg.Append(CPPDEFINES=["TVG_STATIC"])
# Explicit support for embedded images in svg.
env_svg.Append(CPPDEFINES=["THORVG_FILE_IO_SUPPORT"])
env_thirdparty = env_svg.Clone() env_thirdparty = env_svg.Clone()
env_thirdparty.disable_warnings() env_thirdparty.disable_warnings()