Commit 80c6c2fa761bd2733cc224a68bfb702fe0145afd

Ryan C. Gordon 2017-08-09T22:34:45

cmake: whoops, Sam and I both fixed this bug at the same time. :)

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cmake/sdlchecks.cmake b/cmake/sdlchecks.cmake
index 7ce9bc9..e2e89a2 100644
--- a/cmake/sdlchecks.cmake
+++ b/cmake/sdlchecks.cmake
@@ -862,8 +862,6 @@ macro(CheckPTHREAD)
     elseif(LINUX)
       set(PTHREAD_CFLAGS "-D_REENTRANT")
       set(PTHREAD_LDFLAGS "-pthread")
-    elseif(ANDROID)
-      # pthreads are builtin
     elseif(BSDI)
       set(PTHREAD_CFLAGS "-D_REENTRANT -D_THREAD_SAFE")
       set(PTHREAD_LDFLAGS "")