projectM-visualizer / projectm

projectM - Cross-platform Music Visualization Library. Open-source and Milkdrop-compatible.
https://discord.gg/mMrxAqaa3W
GNU Lesser General Public License v2.1
3.33k stars 372 forks source link

Windows build improvements #622

Closed kblaschke closed 2 years ago

kblaschke commented 2 years ago

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]).