From ac3aee3349e3ae01e654ce15824420b491e1edcf Mon Sep 17 00:00:00 2001 From: ThePhD Date: Mon, 19 Feb 2018 22:36:53 -0500 Subject: [PATCH] properly select latest CI --- cmake/Modules/FindLuaBuild/LuaVanilla.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/Modules/FindLuaBuild/LuaVanilla.cmake b/cmake/Modules/FindLuaBuild/LuaVanilla.cmake index d789801f..3da46218 100644 --- a/cmake/Modules/FindLuaBuild/LuaVanilla.cmake +++ b/cmake/Modules/FindLuaBuild/LuaVanilla.cmake @@ -113,11 +113,11 @@ elseif (LUA_VERSION MATCHES "([0-9]+)\\.([0-9]+)") # extend version number with prefix if (${CMAKE_MATCH_1} EQUAL 5) if (${CMAKE_MATCH_2} EQUAL 1) - set(LUA_VANILLA_VERSION LUA_VANILLA_5.1_LATEST_VERSION) + set(LUA_VANILLA_VERSION ${LUA_VANILLA_5.1_LATEST_VERSION}) elseif (${CMAKE_MATCH_2} EQUAL 2) - set(LUA_VANILLA_VERSION LUA_VANILLA_5.2_LATEST_VERSION) + set(LUA_VANILLA_VERSION ${LUA_VANILLA_5.2_LATEST_VERSION}) elseif (${CMAKE_MATCH_2} EQUAL 3) - set(LUA_VANILLA_VERSION LUA_VANILLA_5.3_LATEST_VERSION) + set(LUA_VANILLA_VERSION ${LUA_VANILLA_5.3_LATEST_VERSION}) else() # default to whatever the first two # numbers happen to be, plus build 0