diff options
author | Michal Labedzki <michal.labedzki@tieto.com> | 2015-12-30 19:26:59 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-01-18 16:09:05 +0000 |
commit | 1cc4ac4619358d508ba78261851c8947d8d3ceb5 (patch) | |
tree | 5dfd209fcd0da590084290074431b3b8fa4c27e7 | |
parent | ff033c6a2fb7a6286e66b6ed89e24ea4c6cd22c9 (diff) |
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>
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 43ab266cc6..ad34750784 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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" |