mirror of https://github.com/encounter/SDL.git
cmake: whoops, Sam and I both fixed this bug at the same time. :)
This commit is contained in:
parent
496337b3cf
commit
80c6c2fa76
|
@ -862,8 +862,6 @@ macro(CheckPTHREAD)
|
||||||
elseif(LINUX)
|
elseif(LINUX)
|
||||||
set(PTHREAD_CFLAGS "-D_REENTRANT")
|
set(PTHREAD_CFLAGS "-D_REENTRANT")
|
||||||
set(PTHREAD_LDFLAGS "-pthread")
|
set(PTHREAD_LDFLAGS "-pthread")
|
||||||
elseif(ANDROID)
|
|
||||||
# pthreads are builtin
|
|
||||||
elseif(BSDI)
|
elseif(BSDI)
|
||||||
set(PTHREAD_CFLAGS "-D_REENTRANT -D_THREAD_SAFE")
|
set(PTHREAD_CFLAGS "-D_REENTRANT -D_THREAD_SAFE")
|
||||||
set(PTHREAD_LDFLAGS "")
|
set(PTHREAD_LDFLAGS "")
|
||||||
|
|
Loading…
Reference in New Issue