You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot use find_package on emscripten because threads are not yet supported in the browser by default. There is a SDL2 port for emscripten without threads, though. I think adding && NOT EMSCRIPTEN where you check if apple is being used will fix the problem.
The text was updated successfully, but these errors were encountered:
It seems like emscripten requires a very different approach to linking SDL2, so fixing threads is not enough. Maybe stub cmake files that set the build and link flags to contain "-s USE_SDL=2" is needed.
I cannot use find_package on emscripten because threads are not yet supported in the browser by default. There is a SDL2 port for emscripten without threads, though. I think adding && NOT EMSCRIPTEN where you check if apple is being used will fix the problem.
The text was updated successfully, but these errors were encountered: