Skip to content

Commit

Permalink
Pass --sdk to dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
UE4SS committed Dec 2, 2024
1 parent 71a5624 commit a7802f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xmake/modules/package/tools/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,10 @@ function _get_configs(package, configs, opt)
if buildir then
table.insert(configs, "--buildir=" .. buildir)
end
local sdk = get_config("sdk")
if sdk and #sdk > 0 then
table.insert(configs, "--sdk=" .. sdk)
end
return configs
end

Expand Down

0 comments on commit a7802f6

Please sign in to comment.