Merge pull request #19090 from bfredl/luaprg

fix(build): don't disable byte precompilation on debug builds
This commit is contained in:
bfredl 2022-06-25 20:30:43 +02:00 committed by GitHub
commit 69e7b664d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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()
if(COMPILE_LUA AND NOT WIN32)
if(PREFER_LUA)