Merge pull request #1418 from LongerVision/master

Java Support 1.8 now...
This commit is contained in:
Even Rouault 2022-05-07 11:52:20 +02:00 committed by GitHub
commit 576f72112e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -57,14 +57,14 @@ add_executable(${exe} ${exe}.c)
endforeach() endforeach()
# Build the two java clients: # Build the two java clients:
find_package(Java 1.6 COMPONENTS Development) # javac, jar find_package(Java 1.8 COMPONENTS Development) # javac, jar
# User can override this: # User can override this:
if(NOT DEFINED JAVA_SOURCE_VERSION) if(NOT DEFINED JAVA_SOURCE_VERSION)
set(JAVA_SOURCE_VERSION 1.6) set(JAVA_SOURCE_VERSION 1.8)
endif() endif()
if(NOT DEFINED JAVA_TARGET_VERSION) if(NOT DEFINED JAVA_TARGET_VERSION)
set(JAVA_TARGET_VERSION 1.6) set(JAVA_TARGET_VERSION 1.8)
endif() endif()
# Only build the java viewer if dev is found: # Only build the java viewer if dev is found: