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>
Differential D108515
[lldb/lua] Force Lua version to be 5.3 siger-young on Aug 21 2021, 4:59 PM. Authored by
Details Due to CMake cache, find_package in FindLuaAndSwig.cmake Signed-off-by: Siger Yang <sigeryeung@gmail.com>
Diff Detail
Event Timeline
|
This breaks building in setups where SWIG is available, but not Lua. Previously this detected Lua and took it into use if both Lua and SWIG were available, and if not , proceeded without them.