5 # Find Lua and SWIG as a whole.
7 if(LUA_LIBRARIES AND LUA_INCLUDE_DIR AND LLDB_ENABLE_SWIG)
8 set(LUAANDSWIG_FOUND TRUE)
13 # Find the Lua executable. Only required to run a subset of the Lua
15 find_program(LUA_EXECUTABLE
18 "lua${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}"
28 message(STATUS "SWIG 4 or later is required for Lua support in LLDB but could not be found")
32 include(FindPackageHandleStandardArgs)
33 find_package_handle_standard_args(LuaAndSwig