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

@@ -93,4 +93,8 @@ find_package(SDL3 REQUIRED CONFIG COMPONENTS SDL3)
add_executable(gui-whatever WIN32 main_gui.c)
target_link_libraries(gui-whatever PRIVATE SDL3::SDL3)
if(ANDROID)
find_package(SDL3 REQUIRED CONFIG COMPONENTS Jar)
endif()
feature_summary(WHAT ALL)