FindLua: Provide imported target "Lua::Lua" or "lua::lua".
It is a growing trend to link Imported Targets <pkg>::<pkg>
or <pkg>::<comp>
provided by find_package(<pkg>)
. Therefore, I suggest FindLua module to do so. The following two are the recommended names: (pick one)
Lua::Lua
lua::lua
BTW, Conan already defined lua::lua
generated by CMakeDeps generator for lua package.