Skip to content

Commit

Permalink
Update source and target for jdk, required for building with Java 21 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
olivhoenen authored and jholloc committed Feb 1, 2024
1 parent 09e479e commit 8ce6b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/wrappers/java/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ endif()

include( UseJava )

set( CMAKE_JAVA_COMPILE_FLAGS "-source" "1.6" "-target" "1.6" )
set( CMAKE_JAVA_COMPILE_FLAGS "-source" "1.8" "-target" "1.8" )

include_directories(
${CMAKE_SOURCE_DIR}/source
Expand Down

0 comments on commit 8ce6b41

Please sign in to comment.