Join GitHub today
Emscripten SDL2 / WebGL linker flags don't work when using Magnum as CMake subproject #219
Because there's no such thing as
To have things clean,
Putting it here so I don't forget the particulars later. First I wanted to solve this for #218 but I need to invent some solution that doesn't make me angry first.
Both things seem to be fixed since 3.12:
I'll look into fixing this, together with inventing some (considerably uglier) workaround for earlier versions. CMake 3.7 is the minimum required for Emscripten at the moment and it's also the version shipped in Debian 9, so it'd be nice to keep support for it, instead of forcing everyone to 3.12.
Wow, this took a while.
I tested on a minimal project using CMake subprojects and everything seemed to work correctly with both CMake 3.13 and older versions. However, while upgrading to 1.38.27, I discovered a few more issues:
@FeraiAli since it's quite a lot changes, ping me again if you have any issues related to this ;)