CMake based build of Lua 5.4.2
Inside of your project's CMakeLists.txt
add_subdirectory(lua) ... target_link_libraries(<YOURTARGET> lua_static)