diff options
author | Brian P. Hinz <bphinz@users.sf.net> | 2015-12-26 21:49:49 -0500 |
---|---|---|
committer | Brian P. Hinz <bphinz@users.sf.net> | 2015-12-26 21:53:58 -0500 |
commit | 10d9af57ca4bbce72cca4d21b8a609a4611da024 (patch) | |
tree | b2cc5fdf3fcd2172b0dd20c38b57191e6cd18131 /java/CMakeLists.txt | |
parent | ce48cc8962233d97a39d1f61d661d4e57b7eb1e4 (diff) | |
download | tigervnc-10d9af57ca4bbce72cca4d21b8a609a4611da024.tar.gz tigervnc-10d9af57ca4bbce72cca4d21b8a609a4611da024.zip |
Suppress/eliminate JDK warnings
Diffstat (limited to 'java/CMakeLists.txt')
-rw-r--r-- | java/CMakeLists.txt | 2 |
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}") |