From 26ac8ce50f2cecfb00206c3583b8fba70fd0fbf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 12 Feb 2025 19:04:53 +0100 Subject: [PATCH] ThorVG: Explicitly enable embedded texture support with THORVG_FILE_IO_SUPPORT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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> --- modules/svg/SCsub | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/svg/SCsub b/modules/svg/SCsub index 83321cf4493..696e1649489 100644 --- a/modules/svg/SCsub +++ b/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()