Parcourir la source

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

Fixes #13190.
Ryan C. Gordon il y a 2 semaines
Parent
commit
ee69cdc1fe
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      docs/README-emscripten.md

+ 1 - 1
docs/README-emscripten.md

@@ -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
 ```