Skip to content
Snippets Groups Projects
Commit af3df72c authored by Eidolon's avatar Eidolon
Browse files

cmake: build sdl target with threads support

parent b426602b
No related branches found
No related tags found
No related merge requests found
...@@ -36,6 +36,7 @@ set(SRB2_SDL2_SOURCES ...@@ -36,6 +36,7 @@ set(SRB2_SDL2_SOURCES
i_system.c i_system.c
i_ttf.c i_ttf.c
i_video.c i_video.c
i_threads.c
#IMG_xpm.c #IMG_xpm.c
ogl_sdl.c ogl_sdl.c
...@@ -261,6 +262,7 @@ if(${SDL2_FOUND}) ...@@ -261,6 +262,7 @@ if(${SDL2_FOUND})
target_compile_definitions(SRB2SDL2 PRIVATE target_compile_definitions(SRB2SDL2 PRIVATE
-DHAVE_SDL -DHAVE_SDL
-DHAVE_THREADS
) )
## strip debug symbols into separate file when using gcc ## strip debug symbols into separate file when using gcc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment