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}") 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)" ON)
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)