5f7eb8cff6
Distributions have different naming styles, detect all of them. Example from Alpine / postmarketOS: Run-time dependency lua54 found: NO (tried pkgconfig and cmake) Run-time dependency lua5.4 found: YES 5.4.7 Signed-off-by: David Heidelberg <david@ixit.cz> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30352>