From 393d426c82295ddb1aa7cc76d528755708e67018 Mon Sep 17 00:00:00 2001 From: MicroBlock <66859419+std-microblock@users.noreply.github.com> Date: Sun, 12 Jan 2025 00:37:11 +0800 Subject: [PATCH] Update xmake.lua --- packages/t/thorvg/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/t/thorvg/xmake.lua b/packages/t/thorvg/xmake.lua index 76b1b6bfbf2..6b69dd05515 100644 --- a/packages/t/thorvg/xmake.lua +++ b/packages/t/thorvg/xmake.lua @@ -108,7 +108,7 @@ package("thorvg") end) on_test(function (package) - assert(package:has_cxxfuncs("tvg::Initializer::init(tvg::CanvasEngine::Sw, 0)", {includes = "thorvg.h", configs = {languages = "c++14"}})) + assert(package:has_cxxfuncs("tvg::Initializer::init(0)", {includes = "thorvg.h", configs = {languages = "c++14"}})) if package:config("c_api") then assert(package:has_cxxfuncs("tvg_engine_init", {includes = "thorvg_capi.h"})) end