diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d87abc0..6f3a10e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -229,7 +229,7 @@ endif() # We do not enable it by default, it's testing feature # If you want it please build with: # cmake -DENABLE_LUA_SUPPORT=ON .. -set(ENABLE_LUA_SUPPORT yes) +set(ENABLE_LUA_SUPPORT yes CACHE BOOL "Enable Lua support") if (ENABLE_LUA_SUPPORT) message(STATUS "We will enable LuaJIT support")