diff options
| author | ruki <[email protected]> | 2025-04-24 22:42:49 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-04-24 10:24:45 +0800 |
| commit | ff67a6a7936dff1fd3549c003c87aa812c435474 (patch) | |
| tree | 4ae8d52708fe38ce1d38801e1e85a695ef0c2fce /xmake/actions | |
| parent | d75240a009a7f295e31568c83fe9e93de1be431d (diff) | |
rename more buildir in plugins
Diffstat (limited to 'xmake/actions')
| -rw-r--r-- | xmake/actions/config/main.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua index 899748d2e..02ca58799 100644 --- a/xmake/actions/config/main.lua +++ b/xmake/actions/config/main.lua @@ -372,9 +372,9 @@ force to build in current directory via run `xmake -P .`]], os.projectdir()) end -- translate the build directory - local buildir = config.get("buildir") - if buildir and path.is_absolute(buildir) then - config.set("buildir", path.relative(buildir, project.directory()), {readonly = true, force = true}) + local builddir = config.get("builddir") or config.get("buildir") + if builddir and path.is_absolute(builddir) then + config.set("builddir", path.relative(builddir, project.directory()), {readonly = true, force = true}) end -- only config for building project using third-party buildsystem |
