from yokogawa-k on master, also find unversioned lua

This commit is contained in:
Axel Kittenberger 2018-03-26 11:38:57 +02:00
parent a057e14c7f
commit 73daba0960
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ SET(_POSSIBLE_LUA_INCLUDE include include/lua)
SET(_POSSIBLE_SUFFIXES "52" "5.2" "-5.2" "53" "5.3" "-5.3" "")
# Set up possible search names and locations
FOREACH(_SUFFIX ${_POSSIBLE_SUFFIXES})
FOREACH(_SUFFIX IN LISTS _POSSIBLE_SUFFIXES)
LIST(APPEND _POSSIBLE_LUA_INCLUDE "include/lua${_SUFFIX}")
LIST(APPEND _POSSIBLE_LUA_EXECUTABLE "lua${_SUFFIX}")
LIST(APPEND _POSSIBLE_LUA_COMPILER "luac${_SUFFIX}")