mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-10 07:12:03 +00:00
cmake: build sdl target with threads support
This commit is contained in:
parent
b426602b24
commit
af3df72c29
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue