mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 19:38:14 +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
|
```bash
|
||||||
mkdir build
|
mkdir build
|
||||||
cd 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.
|
# you can also do `emcmake cmake -G Ninja ..` and then use `ninja` instead of this command.
|
||||||
emmake make -j4
|
emmake make -j4
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user