mirror of https://github.com/libsdl-org/SDL
Merge commit 'a3ae26ddd0a34ee3f5f39311dbdf420b24d95939' into main
This commit is contained in:
commit
3db5ea6b80
|
@ -814,6 +814,7 @@ macro(CheckPTHREAD)
|
|||
}" HAVE_PTHREADS)
|
||||
if(HAVE_PTHREADS)
|
||||
set(SDL_THREAD_PTHREAD 1)
|
||||
separate_arguments(PTHREAD_CFLAGS)
|
||||
target_compile_options(sdl-build-options INTERFACE ${PTHREAD_CFLAGS})
|
||||
list(APPEND SDL_EXTRA_LDFLAGS ${PTHREAD_LDFLAGS})
|
||||
list(APPEND SDL_PC_CFLAGS ${PTHREAD_CFLAGS})
|
||||
|
|
Loading…
Reference in New Issue