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

This commit is contained in:
Anonymous Maarten committed 2023-11-23 02:13:08 +01:00
1 parent 53544cabaa
commit a45b371de0
5 files changed
+42 -9

No files matched your search

+5
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()