summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/cmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/package/tools/cmake.lua')
-rw-r--r--xmake/modules/package/tools/cmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua
index 04b7faa37..8e062c56f 100644
--- a/xmake/modules/package/tools/cmake.lua
+++ b/xmake/modules/package/tools/cmake.lua
@@ -84,7 +84,7 @@ function install(package, configs, opt)
opt = opt or {}
-- enter build directory
- local buildir = "build_" .. hash.uuid():split('%-')[1]
+ local buildir = "build_" .. hash.uuid4():split('%-')[1]
os.mkdir(path.join(buildir, "install"))
local oldir = os.cd(buildir)