Running SDL2 App on Mac/Linux, that don't have SDL2 installed - static linking? (CMake, CLion)

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: