From eaa013ce4cd12a18c8cc73b948f81dc64cd2d976 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 26 Nov 2019 00:48:24 +0800 Subject: uses hash.uuid4 --- xmake/modules/package/tools/cmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/modules/package/tools/cmake.lua') 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) -- cgit v1.3.1