[lldb/lua] Force Lua version to be 5.3
authorSiger Yang <sigeryeung@gmail.com>
Tue, 12 Oct 2021 13:02:21 +0000 (21:02 +0800)
committerSiger Yang <sigeryeung@gmail.com>
Tue, 12 Oct 2021 13:34:15 +0000 (21:34 +0800)
commit6de63b3ba5e2dbb5994d329623fbf933e319ea7a
treeacb500104a601ad4fa463aaa421960c5f3ecd319
parentb24c91fffc3f28f6b1a6c6f25c7f83efcdeda206
[lldb/lua] Force Lua version to be 5.3

Due to CMake cache, find_package in FindLuaAndSwig.cmake
will be ignored. This commit adds EXACT and REQUIRED flags
to it and removes find_package in Lua ScriptInterpreter.

Signed-off-by: Siger Yang <sigeryeung@gmail.com>
Reviewed By: tammela, JDevlieghere

Differential Revision: https://reviews.llvm.org/D108515
lldb/cmake/modules/FindLuaAndSwig.cmake
lldb/source/Plugins/ScriptInterpreter/Lua/CMakeLists.txt