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