Skip to content

Commit ee69cdc

Browse files
committed
README-emscripten.md: Fixed cmake commmand line for enabling pthreads.
Fixes #13190.
1 parent 184f6fa commit ee69cdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/README-emscripten.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ If you want to build with thread support, something like this works:
239239
```bash
240240
mkdir build
241241
cd build
242-
emcmake cmake -DSDL_THREADS=ON ..
242+
emcmake cmake -DSDL_PTHREADS=ON ..
243243
# you can also do `emcmake cmake -G Ninja ..` and then use `ninja` instead of this command.
244244
emmake make -j4
245245
```

0 commit comments

Comments
 (0)