Skip to content

Commit cd21bbe

Browse files
Susko3slouken
authored andcommitted
Avoid checking for HAVE_POSIX_SPAWN on Android
This makes the CMake build closer to SDL_build_config_android.h as both will now use SDL_PROCESS_DUMMY.
1 parent 6176235 commit cd21bbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3397,7 +3397,7 @@ if(WINDOWS)
33973397
)
33983398
set(SDL_PROCESS_WINDOWS 1)
33993399
set(HAVE_SDL_PROCESS TRUE)
3400-
else()
3400+
elseif(NOT ANDROID)
34013401
check_c_source_compiles("
34023402
#include <spawn.h>
34033403
#include <unistd.h>

0 commit comments

Comments
 (0)