aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian P. Hinz <bphinz@users.sf.net>2017-05-07 09:33:54 -0400
committerBrian P. Hinz <bphinz@users.sf.net>2017-05-07 09:36:06 -0400
commit7a65d8ea3abbcb1d55f65d4e8364d43acf0c2dfa (patch)
tree13c9ef6c010023b4566d8c353da5ba5bb9269d85
parent2711b995e79349793b463a7726c84ebf2c305898 (diff)
downloadtigervnc-7a65d8ea3abbcb1d55f65d4e8364d43acf0c2dfa.tar.gz
tigervnc-7a65d8ea3abbcb1d55f65d4e8364d43acf0c2dfa.zip
Make sure install path for java classes is properly defined (re:#295)
-rw-r--r--java/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt
index 34f7643f..01c2c761 100644
--- a/java/CMakeLists.txt
+++ b/java/CMakeLists.txt
@@ -7,6 +7,8 @@ endif()
find_package(Java)
+set(DATA_DIR "${CMAKE_INSTALL_PREFIX}/share")
+
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})")