I have a strange issue linking SDL2_ttf with Windows/MSVC/CMake.
Here is a minimal project that works.
I use the same CMake command to build my project but for some reason, it fails to link SDL_ttf.dll, apparently there are some unresolved reference to the C runtime in freetype. (see logs in gist)
Does anyone has an idea what is wrong with the way SDL_ttf is built?