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