aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgnacio Burgueño <ignaciob@inconcertcc.com>2015-06-24 15:44:52 -0300
committerIgnacio Burgueño <ignaciob@inconcertcc.com>2015-06-25 12:47:02 -0300
commit797b95f830c7a2fbd886e74ff7b441fbc41b0701 (patch)
treec14051f3043bf190ec17a397ead674b49a79a909
parentb3a4e889dc3f06e83a299096710406920f18cd51 (diff)
downloadluarocks-797b95f830c7a2fbd886e74ff7b441fbc41b0701.tar.gz
luarocks-797b95f830c7a2fbd886e74ff7b441fbc41b0701.tar.bz2
luarocks-797b95f830c7a2fbd886e74ff7b441fbc41b0701.zip
Use new key target_cpu
-rw-r--r--src/luarocks/build/cmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/build/cmake.lua b/src/luarocks/build/cmake.lua
index 3d0f22a2..22ee2cde 100644
--- a/src/luarocks/build/cmake.lua
+++ b/src/luarocks/build/cmake.lua
@@ -41,7 +41,7 @@ function cmake.run(rockspec)
41 -- Try to pick the best generator. With msvc and x64, CMake does not select it by default so we need to be explicit. 41 -- Try to pick the best generator. With msvc and x64, CMake does not select it by default so we need to be explicit.
42 if cfg.is_platform("mingw32") and cfg.cmake_generator then 42 if cfg.is_platform("mingw32") and cfg.cmake_generator then
43 args = args .. ' -G"'..cfg.cmake_generator.. '"' 43 args = args .. ' -G"'..cfg.cmake_generator.. '"'
44 elseif cfg.is_platform("windows") and cfg.arch:match("%-x86_64$") then 44 elseif cfg.is_platform("windows") and cfg.target_cpu:match("x86_64$") then
45 args = args .. " -DCMAKE_GENERATOR_PLATFORM=x64" 45 args = args .. " -DCMAKE_GENERATOR_PLATFORM=x64"
46 end 46 end
47 47