aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-06-25 20:30:43 +0200
committerGitHub <noreply@github.com>2022-06-25 20:30:43 +0200
commit69e7b664d817e68210718d79158937297bb3f3f9 (patch)
tree17262cff5140796ff2a9eceb5019de35cbdffae5
parent9f592780b5bb8c69e18784c440c711dc5a4684e2 (diff)
parentcb58b673e538326b89d94e420c241fff7db19ca2 (diff)
downloadrneovim-69e7b664d817e68210718d79158937297bb3f3f9.tar.gz
rneovim-69e7b664d817e68210718d79158937297bb3f3f9.tar.bz2
rneovim-69e7b664d817e68210718d79158937297bb3f3f9.zip
Merge pull request #19090 from bfredl/luaprg
fix(build): don't disable byte precompilation on debug builds
-rw-r--r--CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9502190708..097ef041ea 100644
--- 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)