mirror of
https://github.com/neovim/neovim.git
synced 2025-12-11 09:02:40 +00:00
chore(build): compile lua only on release builds (#16859)
This commit is contained in:
@@ -543,7 +543,11 @@ endif()
|
|||||||
|
|
||||||
message(STATUS "Using Lua interpreter: ${LUA_PRG}")
|
message(STATUS "Using Lua interpreter: ${LUA_PRG}")
|
||||||
|
|
||||||
option(COMPILE_LUA "Pre-compile Lua sources into bytecode (for sources that are included in the binary)" ON)
|
if(DEBUG)
|
||||||
|
option(COMPILE_LUA "Pre-compile Lua sources into bytecode (for sources that are included in the binary)" OFF)
|
||||||
|
else()
|
||||||
|
option(COMPILE_LUA "Pre-compile Lua sources into bytecode (for sources that are included in the binary)" ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(COMPILE_LUA AND NOT WIN32)
|
if(COMPILE_LUA AND NOT WIN32)
|
||||||
if(PREFER_LUA)
|
if(PREFER_LUA)
|
||||||
|
|||||||
Reference in New Issue
Block a user