summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2019-01-02 22:47:58 +0800
committerruki <[email protected]>2019-01-02 10:47:52 +0800
commita4063346a3e5989ecde56c7eb165300936174096 (patch)
tree9233142e6150054feb1b5278e9785e300bca7133
parent5d1bca5937ea06afe2134176c6a68cee98b23521 (diff)
improve cmake tools
-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 b1c3da910..cbcf99014 100644
--- a/xmake/modules/package/tools/cmake.lua
+++ b/xmake/modules/package/tools/cmake.lua
@@ -34,7 +34,7 @@ function install(package, configs)
local oldir = os.cd("build")
-- init arguments
- local argv = {"-DCMAKE_INSTALL_PREFIX=\"" .. path.absolute("install") .. "\""}
+ local argv = {"-DCMAKE_INSTALL_PREFIX=" .. path.absolute("install")}
if is_plat("windows") and is_arch("x64") then
table.insert(argv, "-A")
table.insert(argv, "x64")