From ff68e9775ac2e5f9aae21535688d5355e4173e61 Mon Sep 17 00:00:00 2001 From: Ignacio BurgueƱo Date: Fri, 27 Mar 2015 12:45:24 -0300 Subject: Fallback for platform variable --- .appveyor/install.bat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.appveyor/install.bat b/.appveyor/install.bat index db4800f9..a2aefdd2 100644 --- a/.appveyor/install.bat +++ b/.appveyor/install.bat @@ -15,6 +15,9 @@ if "%LUA_VER%" NEQ "" ( set LUA_SHORTV=5.1 ) +:: unless we specify a platform on appveyor.yaml, we won't get this variable +if not defined platform set platform=x86 + :: defines LUA_DIR so Cmake can find this Lua install if "%LUA%"=="luajit" ( set LUA_DIR=c:\lua\%platform%\lj%LJ_SHORTV% -- cgit v1.2.3-55-g6feb