diff options
| author | ruki <[email protected]> | 2019-03-28 22:46:25 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-03-28 10:38:32 +0800 |
| commit | ca1668be5f36ddbb082ea52d77585645b9739f48 (patch) | |
| tree | 9fa5b73fab0523799859d9cd79bb38cb13c66971 /xmake/core/project/config.lua | |
| parent | 824b43fabb20842e645849653250cc64d77025ac (diff) | |
improve project config directory
Diffstat (limited to 'xmake/core/project/config.lua')
| -rw-r--r-- | xmake/core/project/config.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/config.lua b/xmake/core/project/config.lua index 789d2f5fd..03dd50119 100644 --- a/xmake/core/project/config.lua +++ b/xmake/core/project/config.lua @@ -152,7 +152,7 @@ end -- get the configure directory function config.directory() if config._ROOTDIR == nil then - config._ROOTDIR = os.getenv("XMAKE_CONFIGDIR") or path.join(os.projectdir(), ".xmake") + config._ROOTDIR = os.getenv("XMAKE_CONFIGDIR") or path.join(os.projectdir(), ".xmake", os.host(), os.arch()) end return config._ROOTDIR end |
