summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/cmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-09-10 23:22:20 +0800
committerruki <[email protected]>2020-09-10 23:22:20 +0800
commit02433ff768af0842de49d3901df973c57bb43a5a (patch)
treeec95653798ee796fee9a009a69697aa59e2bfd40 /xmake/modules/package/tools/cmake.lua
parent35be97ffcbb1de8ac8676412bb0dc450d6e2a1a2 (diff)
fix cmake.install
Diffstat (limited to 'xmake/modules/package/tools/cmake.lua')
-rw-r--r--xmake/modules/package/tools/cmake.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua
index 28a767ad3..14dd5df42 100644
--- a/xmake/modules/package/tools/cmake.lua
+++ b/xmake/modules/package/tools/cmake.lua
@@ -263,10 +263,6 @@ function install(package, configs, opt)
-- LIBDIR: object code libraries (lib or lib64 or lib/<multiarch-tuple> on Debian)
--
local argv = {"-DCMAKE_INSTALL_PREFIX=" .. path.absolute("install"), "-DCMAKE_INSTALL_LIBDIR=" .. path.absolute("install/lib")}
- if package:is_plat("windows") and package:is_arch("x64") then
- table.insert(argv, "-A")
- table.insert(argv, "x64")
- end
-- pass configurations
for name, value in pairs(_get_configs(package, configs)) do