Skip to content

Commit

Permalink
Update xmake.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
std-microblock authored Jan 11, 2025
1 parent 2c32f45 commit 393d426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/t/thorvg/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 393d426

Please sign in to comment.