1
0
Fork 0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-05-26 16:16:09 +02:00

Support setting ENABLE_LUA_SUPPORT

To allow users to disable Lua support, do not overwrite the
ENABLE_LUA_SUPPORT variable. Instead just set the default if it is not
set yet.
This commit is contained in:
Benjamin Drung 2017-08-24 16:39:15 +02:00
parent 8122dba8ea
commit a4d2d8170a

View File

@ -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")