Similar changes as in the SDL2 frontend. Increased minimum CMake version to 3.15, as this is required for some crucial Windows build settings. Also improved SDL2 target "fixing", as the SDL2::SDL2 might be an alias to SDL2::SDL2-staticand the fix fails. It'll now apply the property fix to the original target in this case.
Basically, these changes were done to be able to build projectM and downstream apps using the static runtime on Windows (/MT[d]).
Similar changes as in the SDL2 frontend. Increased minimum CMake version to 3.15, as this is required for some crucial Windows build settings. Also improved SDL2 target "fixing", as the
SDL2::SDL2
might be an alias toSDL2::SDL2-static
and the fix fails. It'll now apply the property fix to the original target in this case.Basically, these changes were done to be able to build projectM and downstream apps using the static runtime on Windows (
/MT[d]
).