diff options
| author | Pei Jia <jiapei@longervision.com> | 2022-05-06 18:27:27 -0700 |
|---|---|---|
| committer | Pei Jia <jiapei@longervision.com> | 2022-05-06 18:27:27 -0700 |
| commit | 3ac495c7fc8c23010a15b3d282e1dbfb6422dae0 (patch) | |
| tree | 03e54aba22c8c7e596d387dfda29b57bc5db7b72 /src | |
| parent | 6a29f5a9e3a1e2dbf1e3df22b7e449bc1db20b5c (diff) | |
JAVA_SOURCE_VERSION from 1.6 to 1.8
Diffstat (limited to 'src')
| -rw-r--r-- | src/bin/jpip/CMakeLists.txt | 6 |
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: |
