Yeah, you're right, but you probably need a lot less stuff that's not in the SDK.
My go to solution for including dependencies, is just checking in all the dependency .lib, include files into Git LFS (I think this is a rather common approach from what I've seen on Git). For your typical Linux C/C++ project, unless it's made by best in class C++ devs, building can be a pain, most likely because it depends on very particular lib versions, building a largish project from GitHub for Ubuntu 21.10, where the original dev used 20.04 is usually not possible without source/Makefile tweaks. And I don't particularly love the idea of using root access to install packages to just build some random person's project.
IMHO, C++ dependency management kinda stinks, regardless of platform.
IMHO, C++ dependency management kinda stinks, regardless of platform.