This commit causes buildbot failures if SWIG is available but Lua is
not present.
This reverts commit 7bb42dc6b1.
14 lines
337 B
CMake
14 lines
337 B
CMake
find_package(Lua REQUIRED)
|
|
|
|
add_lldb_library(lldbPluginScriptInterpreterLua PLUGIN
|
|
Lua.cpp
|
|
ScriptInterpreterLua.cpp
|
|
|
|
LINK_LIBS
|
|
lldbCore
|
|
lldbInterpreter
|
|
)
|
|
|
|
target_include_directories(lldbPluginScriptInterpreterLua PUBLIC ${LUA_INCLUDE_DIR})
|
|
target_link_libraries(lldbPluginScriptInterpreterLua INTERFACE ${LUA_LIBRARIES})
|