mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
README-emscripten.md: Fixed cmake commmand line for enabling pthreads.
Fixes #13190.
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
Reference in New Issue
Block a user