properly select latest CI

This commit is contained in:
ThePhD 2018-02-19 22:36:53 -05:00
parent 18981d95ca
commit ac3aee3349

View File

@ -113,11 +113,11 @@ elseif (LUA_VERSION MATCHES "([0-9]+)\\.([0-9]+)")
# extend version number with prefix # extend version number with prefix
if (${CMAKE_MATCH_1} EQUAL 5) if (${CMAKE_MATCH_1} EQUAL 5)
if (${CMAKE_MATCH_2} EQUAL 1) 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) 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) 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() else()
# default to whatever the first two # default to whatever the first two
# numbers happen to be, plus build 0 # numbers happen to be, plus build 0