cmake: build sdl target with threads support

This commit is contained in:
Eidolon 2022-08-20 12:13:48 -05:00
parent b426602b24
commit af3df72c29
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@ set(SRB2_SDL2_SOURCES
i_system.c
i_ttf.c
i_video.c
i_threads.c
#IMG_xpm.c
ogl_sdl.c
@ -261,6 +262,7 @@ if(${SDL2_FOUND})
target_compile_definitions(SRB2SDL2 PRIVATE
-DHAVE_SDL
-DHAVE_THREADS
)
## strip debug symbols into separate file when using gcc