icculus / DirkSimple

A dirt-simple Dragon's Lair player
zlib License
42 stars 7 forks source link

Added pthread link dependency #3

Closed frigierim closed 1 year ago

frigierim commented 1 year ago

On Linux Mint LMDE, linking with theoraplay requires pthread library so I modified the CMakeLists.txt file accordingly. I am not familiar with Emscripten, I didn't know how to check for __EMSCRIPTEN_PTHREADS__ so I forced its definition and centralized the use of pthread library.

icculus commented 1 year ago

I'm going to merge this but remove the Emscripten pthread thing...threading is pretty flakey on Emscripten still, so it runs in single-threaded mode.