diff options
author | DRC <dcommander@users.sourceforge.net> | 2011-10-04 19:31:58 +0000 |
---|---|---|
committer | DRC <dcommander@users.sourceforge.net> | 2011-10-04 19:31:58 +0000 |
commit | d87412f5f3771f20663d8b27ade26bfa1a848054 (patch) | |
tree | 324822dd24a053f77c999f01d55fd779e3c2b2ba | |
parent | e85eba53ac46926107dd4e443ad754cc8ebeee4a (diff) | |
download | tigervnc-d87412f5f3771f20663d8b27ade26bfa1a848054.tar.gz tigervnc-d87412f5f3771f20663d8b27ade26bfa1a848054.zip |
OpenJDK needs '-source 1.5'
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4692 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r-- | java/src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/CMakeLists.txt b/java/src/CMakeLists.txt index dc9d2870..d1b7b0a5 100644 --- a/java/src/CMakeLists.txt +++ b/java/src/CMakeLists.txt @@ -1,6 +1,6 @@ find_package(Java) -set(DEFAULT_JAVACFLAGS "-target 1.5") +set(DEFAULT_JAVACFLAGS "-source 1.5 -target 1.5") set(JAVACFLAGS ${DEFAULT_JAVACFLAGS} CACHE STRING "Java compiler flags (Default: ${DEFAULT_JAVACFLAGS})") message(STATUS "Java compiler flags = ${JAVACFLAGS}") |