mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
build: require exact Lua version when using PREFER_LUA (#16633)
This commit is contained in:
parent
af2899aee0
commit
802a23926d
@ -453,7 +453,7 @@ endif()
|
||||
option(PREFER_LUA "Prefer Lua over LuaJIT in the nvim executable." OFF)
|
||||
|
||||
if(PREFER_LUA)
|
||||
find_package(Lua 5.1 REQUIRED)
|
||||
find_package(Lua 5.1 EXACT REQUIRED)
|
||||
set(LUA_PREFERRED_INCLUDE_DIRS ${LUA_INCLUDE_DIR})
|
||||
set(LUA_PREFERRED_LIBRARIES ${LUA_LIBRARIES})
|
||||
# Passive (not REQUIRED): if LUAJIT_FOUND is not set, nvim-test is skipped.
|
||||
|
Loading…
Reference in New Issue
Block a user