
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
12 lines
309 B
CMake
12 lines
309 B
CMake
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})
|