|
|
@@ -1407,8 +1407,6 @@ if(ANDROID)
|
|
|
"${SDL3_SOURCE_DIR}/src/core/android/*.c"
|
|
|
"${SDL3_SOURCE_DIR}/src/core/android/*.h"
|
|
|
)
|
|
|
- sdl_sources("${CMAKE_ANDROID_NDK}/sources/android/cpufeatures/cpu-features.c")
|
|
|
- set_property(SOURCE "${CMAKE_ANDROID_NDK}/sources/android/cpufeatures/cpu-features.c" APPEND_STRING PROPERTY COMPILE_FLAGS " -Wno-declaration-after-statement")
|
|
|
|
|
|
sdl_glob_sources(
|
|
|
"${SDL3_SOURCE_DIR}/src/misc/android/*.c"
|
|
|
@@ -3819,10 +3817,6 @@ else()
|
|
|
set(ARCH_64 FALSE)
|
|
|
endif()
|
|
|
|
|
|
-if(ANDROID)
|
|
|
- sdl_include_directories(PRIVATE SYSTEM "${CMAKE_ANDROID_NDK}/sources/android/cpufeatures")
|
|
|
-endif()
|
|
|
-
|
|
|
if(APPLE)
|
|
|
cmake_push_check_state(RESET)
|
|
|
check_c_compiler_flag(-fobjc-arc COMPILER_SUPPORTS_FOBJC_ARC)
|