diff options
| author | Redbeanw44602 <[email protected]> | 2025-07-28 15:15:23 +0800 |
|---|---|---|
| committer | Redbeanw44602 <[email protected]> | 2025-07-28 15:15:23 +0800 |
| commit | 650b30b94c8a5a0a0e6113cf4e7bc4bc5e50904c (patch) | |
| tree | c362291b301892c15f2b277630d3ffc95cd71928 /xmake/modules/package/tools/gn.lua | |
| parent | 2c38d7dc3d9c1eb90bb481968918170f5d127237 (diff) | |
fix.
Diffstat (limited to 'xmake/modules/package/tools/gn.lua')
| -rw-r--r-- | xmake/modules/package/tools/gn.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/gn.lua b/xmake/modules/package/tools/gn.lua index bb4132310..7813b14be 100644 --- a/xmake/modules/package/tools/gn.lua +++ b/xmake/modules/package/tools/gn.lua @@ -140,6 +140,6 @@ function install(package, configs, opt) -- do build and install local builddir = _get_builddir(opt) - local targets = table.wrap(opt.target or opt.targets) + local targets = table.wrap(opt.targets or opt.target) ninja.install(package, targets, {builddir = builddir, envs = opt.envs or buildenvs(package, opt)}) end |
