Use Android SDL2 via Maven

This commit is contained in:
leo60228
2023-11-07 14:04:28 -05:00
committed by Misa Elizabeth Kai
parent 1d3173f5c1
commit ca71410f14
15 changed files with 14 additions and 5653 deletions

View File

@@ -408,12 +408,6 @@ elseif (EMSCRIPTEN)
target_compile_options(faudio-static PUBLIC -sUSE_SDL=2)
target_link_libraries(faudio-static -sUSE_SDL=2)
endif()
elseif (ANDROID)
message(STATUS "Using Android SDL2")
target_link_libraries(VVVVVV SDL2 SDL2main)
if(BUNDLE_DEPENDENCIES)
target_link_libraries(faudio-static SDL2)
endif()
else()
# Only try to autodetect if both SDL2 variables aren't explicitly set
find_package(SDL2 CONFIG)