mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-07 11:58:12 +00:00
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.
(cherry picked from commit cd21bbe796
)
This commit is contained in:
@@ -2962,7 +2962,7 @@ if(WINDOWS)
|
|||||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/process/windows/*.c")
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/process/windows/*.c")
|
||||||
set(SDL_PROCESS_WINDOWS 1)
|
set(SDL_PROCESS_WINDOWS 1)
|
||||||
set(HAVE_SDL_PROCESS TRUE)
|
set(HAVE_SDL_PROCESS TRUE)
|
||||||
else()
|
elseif(NOT ANDROID)
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <spawn.h>
|
#include <spawn.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
Reference in New Issue
Block a user