summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2022-05-07 11:52:20 +0200
committerGitHub <noreply@github.com>2022-05-07 11:52:20 +0200
commit576f72112e33e47152bbaa9630db6bfa949aa0aa (patch)
tree9c7142c33eb200d4ce58b319a94b4a6c85ce3e5b /src
parent30e7c88bdf02335225c7b6df0200a74e931a6a4f (diff)
parent3ac495c7fc8c23010a15b3d282e1dbfb6422dae0 (diff)
Merge pull request #1418 from LongerVision/master
Java Support 1.8 now...
Diffstat (limited to 'src')
-rw-r--r--src/bin/jpip/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/jpip/CMakeLists.txt b/src/bin/jpip/CMakeLists.txt
index 9b24fa4a..c16e4271 100644
--- a/src/bin/jpip/CMakeLists.txt
+++ b/src/bin/jpip/CMakeLists.txt
@@ -57,14 +57,14 @@ add_executable(${exe} ${exe}.c)
endforeach()
# 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:
if(NOT DEFINED JAVA_SOURCE_VERSION)
- set(JAVA_SOURCE_VERSION 1.6)
+ set(JAVA_SOURCE_VERSION 1.8)
endif()
if(NOT DEFINED JAVA_TARGET_VERSION)
- set(JAVA_TARGET_VERSION 1.6)
+ set(JAVA_TARGET_VERSION 1.8)
endif()
# Only build the java viewer if dev is found: