cmake: more private definitions

This commit is contained in:
Edu García authored and Sam Lantinga committed 2025-06-06 10:29:20 -07:00
1 parent 5826966873
commit d9af41b5ac
2 files changed
+11 -1

No files matched your search

+1 -1
View File
@@ -826,7 +826,7 @@ endmacro()
macro(CheckPTHREAD)
cmake_push_check_state()
if(SDL_PTHREADS)
if(ANDROID)
if(ANDROID OR SDL_PTHREADS_PRIVATE)
# the android libc provides built-in support for pthreads, so no
# additional linking or compile flags are necessary
elseif(LINUX)