Skip to content

Commit

Permalink
JAVA_SOURCE_VERSION from 1.6 to 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
jiapei100 committed May 7, 2022
1 parent 6a29f5a commit 3ac495c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bin/jpip/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3ac495c

Please sign in to comment.