Use Android SDL2 via Maven

This commit is contained in:
leo60228 authored and Misa Elizabeth Kai committed 2023-11-14 17:18:08 -08:00
1 parent 1d3173f5c1
commit ca71410f14
15 files changed
+14 -5653

No files matched your search

-6
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)