diff --git a/source/wrappers/java/CMakeLists.txt b/source/wrappers/java/CMakeLists.txt index 4dc6ded8..d2903303 100755 --- a/source/wrappers/java/CMakeLists.txt +++ b/source/wrappers/java/CMakeLists.txt @@ -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