forked from OSchip/llvm-project
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:
parent
abf8ed8a82
commit
49229bb92b
|
@ -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
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
find_package(Lua REQUIRED)
|
||||
|
||||
add_lldb_library(lldbPluginScriptInterpreterLua PLUGIN
|
||||
Lua.cpp
|
||||
ScriptInterpreterLua.cpp
|
||||
|
|
Loading…
Reference in New Issue