README-emscripten.md: Fixed cmake commmand line for enabling pthreads.

Fixes #13190.
This commit is contained in:
Ryan C. Gordon
2025-08-29 09:38:41 -04:00
parent 184f6fa231
commit ee69cdc1fe

View File

@@ -239,7 +239,7 @@ If you want to build with thread support, something like this works:
```bash
mkdir build
cd build
emcmake cmake -DSDL_THREADS=ON ..
emcmake cmake -DSDL_PTHREADS=ON ..
# you can also do `emcmake cmake -G Ninja ..` and then use `ninja` instead of this command.
emmake make -j4
```