summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChi Huu Huynh <[email protected]>2024-08-29 11:55:09 +0100
committerChi Huu Huynh <[email protected]>2024-08-29 11:55:09 +0100
commitb88ecaeb0c721c1d8d3d6ba3de366f8a65581c86 (patch)
tree21d5ad0583bf8607a91e25fd0f21dd3553091263
parent63c0cd00d74a40f91262a6ca587b9ef0d22e37b8 (diff)
Update 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 dbb761966..5e1eceb1a 100644
--- a/xmake/modules/package/tools/cmake.lua
+++ b/xmake/modules/package/tools/cmake.lua
@@ -1227,8 +1227,8 @@ end
-- install package
function install(package, configs, opt)
opt = opt or {}
-
local cmake_generator = _get_cmake_generator(package, opt)
+
-- enter build directory
local buildir = opt.buildir or package:buildir()
os.mkdir(path.join(buildir, "install"))