Lua 5.4 is out, and will be shipped with Fedora 33.
Copied from CMake v3.8.0-707-g0419ecb, modified one include() line.