cmake: create and install SDL3::Jar target for Android

This commit is contained in:
Anonymous Maarten
2023-11-22 23:28:39 +01:00
parent 53544cabaa
commit a45b371de0
5 changed files with 42 additions and 9 deletions

View File

@@ -48,6 +48,11 @@ else()
endif()
endif()
if(ANDROID AND EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL3jarTargets.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/SDL3jarTargets.cmake")
set(SDL3_Jar_FOUND TRUE)
endif()
if(SDL3_SDL3-shared_FOUND OR SDL3_SDL3-static_FOUND)
set(SDL3_SDL3_FOUND TRUE)
endif()