aboutsummaryrefslogtreecommitdiffstats
path: root/java/CMakeLists.txt
diff options
context:
space:
mode:
authorBrian P. Hinz <bphinz@users.sf.net>2015-12-26 21:49:49 -0500
committerBrian P. Hinz <bphinz@users.sf.net>2015-12-26 21:53:58 -0500
commit10d9af57ca4bbce72cca4d21b8a609a4611da024 (patch)
treeb2cc5fdf3fcd2172b0dd20c38b57191e6cd18131 /java/CMakeLists.txt
parentce48cc8962233d97a39d1f61d661d4e57b7eb1e4 (diff)
downloadtigervnc-10d9af57ca4bbce72cca4d21b8a609a4611da024.tar.gz
tigervnc-10d9af57ca4bbce72cca4d21b8a609a4611da024.zip
Suppress/eliminate JDK warnings
Diffstat (limited to 'java/CMakeLists.txt')
-rw-r--r--java/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt
index a076d958..8f698ac5 100644
--- a/java/CMakeLists.txt
+++ b/java/CMakeLists.txt
@@ -7,7 +7,7 @@ endif()
find_package(Java)
-set(DEFAULT_JAVACFLAGS "-source 1.5 -target 1.5 -Xlint:all,-serial,-cast,-unchecked,-fallthrough,-dep-ann,-deprecation,-rawtypes")
+set(DEFAULT_JAVACFLAGS "-source 1.6 -target 1.6 -Xlint:all,-serial,-cast,-unchecked,-fallthrough,-dep-ann,-deprecation,-rawtypes")
set(JAVACFLAGS ${DEFAULT_JAVACFLAGS} CACHE STRING
"Java compiler flags (Default: ${DEFAULT_JAVACFLAGS})")
message(STATUS "Java compiler flags = ${JAVACFLAGS}")