mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2024-11-27 12:00:35 +00:00
cmake: don't generate SDL3 jar for CMake versions < 3.19
This commit is contained in:
parent
1103294d33
commit
c7205ab6b5
@ -1395,7 +1395,7 @@ if(ANDROID)
|
||||
find_package(Java)
|
||||
find_package(SdlAndroidPlatform MODULE)
|
||||
|
||||
if(Java_FOUND AND SdlAndroidPlatform_FOUND)
|
||||
if(Java_FOUND AND SdlAndroidPlatform_FOUND AND NOT CMAKE_VERSION VERSION_LESS "3.19")
|
||||
include(UseJava)
|
||||
set(path_android_jar "${SDL_ANDROID_PLATFORM_ROOT}/android.jar")
|
||||
set(android_java_sources_root "${SDL3_SOURCE_DIR}/android-project/app/src/main/java")
|
||||
|
Loading…
Reference in New Issue
Block a user