Updated CMakeLists.txt now that timers and threads can't be disabled

This commit is contained in:
Sam Lantinga
2024-01-17 08:36:52 -08:00
parent e2080f74fd
commit ac367be171
2 changed files with 123 additions and 124 deletions

View File

@@ -737,7 +737,7 @@ endmacro()
# PTHREAD_LIBS
macro(CheckPTHREAD)
cmake_push_check_state()
if(SDL_THREADS AND SDL_PTHREADS)
if(SDL_PTHREADS)
if(ANDROID)
# the android libc provides built-in support for pthreads, so no
# additional linking or compile flags are necessary