Revert "[lldb/lua] Force Lua version to be 5.3"

This commit causes buildbot failures if SWIG is available but Lua is
not present.

This reverts commit 7bb42dc6b1.
This commit is contained in:
Siger Yang 2021-09-03 17:27:13 +08:00
parent abf8ed8a82
commit 49229bb92b
2 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,7 @@ if(LUA_LIBRARIES AND LUA_INCLUDE_DIR AND SWIG_EXECUTABLE)
else()
find_package(SWIG 3.0)
if (SWIG_FOUND)
find_package(Lua 5.3 EXACT REQUIRED)
find_package(Lua 5.3)
if(LUA_FOUND AND SWIG_FOUND)
mark_as_advanced(
LUA_LIBRARIES

View File

@ -1,3 +1,5 @@
find_package(Lua REQUIRED)
add_lldb_library(lldbPluginScriptInterpreterLua PLUGIN
Lua.cpp
ScriptInterpreterLua.cpp