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

+4
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)