Browse Source

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 <[email protected]>
Rémi Verschelde 7 months ago
parent
commit
26ac8ce50f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      modules/svg/SCsub

+ 2 - 0
modules/svg/SCsub

@@ -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()