Explorar o código

Merge pull request #102781 from akien-mga/thorvg-file-io

ThorVG: Explicitly enable embedded texture support with `THORVG_FILE_IO_SUPPORT`
Thaddeus Crews hai 7 meses
pai
achega
23c1389f92
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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.
 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.disable_warnings()