aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/luarocks/build/cmake.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/luarocks/build/cmake.lua b/src/luarocks/build/cmake.lua
index 5891cda9..0ee125a3 100644
--- a/src/luarocks/build/cmake.lua
+++ b/src/luarocks/build/cmake.lua
@@ -37,9 +37,6 @@ function cmake.run(rockspec)
37 37
38 -- Execute cmake with variables. 38 -- Execute cmake with variables.
39 local args = "" 39 local args = ""
40 if cfg.cmake_generator then
41 --args = args .. ' -G"'..cfg.cmake_generator.. '"'
42 end
43 for k,v in pairs(variables) do 40 for k,v in pairs(variables) do
44 args = args .. ' -D' ..k.. '="' ..v.. '"' 41 args = args .. ' -D' ..k.. '="' ..v.. '"'
45 end 42 end