From d87412f5f3771f20663d8b27ade26bfa1a848054 Mon Sep 17 00:00:00 2001 From: DRC Date: Tue, 4 Oct 2011 19:31:58 +0000 Subject: OpenJDK needs '-source 1.5' git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4692 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- java/src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}") -- cgit v1.2.3