1
mirror of https://github.com/neovim/neovim.git synced 2024-12-27 14:21:31 -07:00

fix(build): don't disable byte precompilation on debug builds

This special casing is redundant since long, as you can disable
the binary cache regardless of build type with the --luamod-dev flag
This commit is contained in:
bfredl 2022-06-25 19:24:48 +02:00
parent 9f592780b5
commit cb58b673e5

View File

@ -573,11 +573,7 @@ endif()
message(STATUS "Using Lua interpreter: ${LUA_PRG}")
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()
option(COMPILE_LUA "Pre-compile Lua sources into bytecode (for sources that are included in the binary)" ON)
if(COMPILE_LUA AND NOT WIN32)
if(PREFER_LUA)