Did you have any success with this? I can’t believe something so basic takes this much effort in C++ land.
I’m trying to statically link SDL2 into my project with CMAKE and it seems to be impossible
I checked hundrends of SO questions and even made my own: