mirror of
https://github.com/neovim/neovim.git
synced 2026-05-02 20:15:03 +00:00
CMake: Search all possibly usable Lua executables. (#4858)
This commit is contained in:
committed by
Justin M. Keyes
parent
8bf94f8f0d
commit
abe47d5f64
@@ -374,7 +374,7 @@ endforeach()
|
||||
include(LuaHelpers)
|
||||
set(LUA_DEPENDENCIES lpeg mpack bit)
|
||||
if(NOT LUA_PRG)
|
||||
foreach(CURRENT_LUA_PRG luajit lua)
|
||||
foreach(CURRENT_LUA_PRG luajit lua5.1 lua5.2 lua)
|
||||
# If LUA_PRG is set find_program() will not search
|
||||
unset(LUA_PRG CACHE)
|
||||
unset(LUA_PRG_WORKS)
|
||||
|
||||
Reference in New Issue
Block a user