summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPei JIA <jiapei@longervision.com>2020-09-23 02:34:31 -0700
committerGitHub <noreply@github.com>2020-09-23 11:34:31 +0200
commit65c8f577d2f057e80040e98958eae80ca76c6b94 (patch)
treeae10d35c10d9bdf64c6c92ea68a1aa140d025123 /src
parent0f16986738725799237548ce6a2ea12516850e72 (diff)
Bump Java compatibility from 1.5 to 1.6 (#1263)
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 301d885b..8dbf5775 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.5 COMPONENTS Development) # javac, jar
+find_package(Java 1.6 COMPONENTS Development) # javac, jar
# User can override this:
if(NOT DEFINED JAVA_SOURCE_VERSION)
- set(JAVA_SOURCE_VERSION 1.5)
+ set(JAVA_SOURCE_VERSION 1.6)
endif()
if(NOT DEFINED JAVA_TARGET_VERSION)
- set(JAVA_TARGET_VERSION 1.5)
+ set(JAVA_TARGET_VERSION 1.6)
endif()
# Only build the java viewer if dev is found: