diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-06-25 19:24:48 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2022-06-25 19:24:48 +0200 |
commit | cb58b673e538326b89d94e420c241fff7db19ca2 (patch) | |
tree | 17262cff5140796ff2a9eceb5019de35cbdffae5 | |
parent | 9f592780b5bb8c69e18784c440c711dc5a4684e2 (diff) | |
download | rneovim-cb58b673e538326b89d94e420c241fff7db19ca2.tar.gz rneovim-cb58b673e538326b89d94e420c241fff7db19ca2.tar.bz2 rneovim-cb58b673e538326b89d94e420c241fff7db19ca2.zip |
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
-rw-r--r-- | CMakeLists.txt | 6 |
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) |