forked from osmocom/wireshark
Add Lua dependings only if LUA is enabled
Avoid build fail if found Lua but it is disabled. Change-Id: If1cf0d650454d2844a1430135de1385c984e5ba4 Reviewed-on: https://code.wireshark.org/review/13394 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
ff033c6a2f
commit
1cc4ac4619
|
@ -1646,7 +1646,7 @@ list(APPEND copy_data_files_depends "${DATAFILE_DIR}/help/faq.txt")
|
|||
# Install LUA files in staging directory such that LUA can used when Wireshark
|
||||
# is ran from the build directory. For install targets, see
|
||||
# epan/wslua/CMakeLists.txt
|
||||
if(LUA_FOUND)
|
||||
if(LUA_FOUND AND ENABLE_LUA)
|
||||
set(_lua_files
|
||||
"${CMAKE_BINARY_DIR}/epan/wslua/init.lua"
|
||||
"${CMAKE_SOURCE_DIR}/epan/wslua/console.lua"
|
||||
|
|
Loading…
Reference in New Issue