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:
1 parent
611940fb80
commit
b2689ff76a
1 file changed
+1
-1
+1
-1
@@ -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