commit cb58b673e538326b89d94e420c241fff7db19ca2 parent 9f592780b5bb8c69e18784c440c711dc5a4684e2 Author: bfredl <bjorn.linse@gmail.com> Date: Sat, 25 Jun 2022 19:24:48 +0200 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 Diffstat:
| M | CMakeLists.txt | | | 6 | +----- |
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -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)