aboutsummaryrefslogtreecommitdiffstats
path: root/java/CMakeLists.txt
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:38:43 -0400
commit5f0e60551245cb6a937e0cbebffec813f46e64f5 (patch)
treed1c482c79beaf4fd77184a10e6a396750e775bb6 /java/CMakeLists.txt
parente9ed16b3836049404df4d7aca761a9bf4e22fec8 (diff)
downloadtigervnc-5f0e60551245cb6a937e0cbebffec813f46e64f5.tar.gz
tigervnc-5f0e60551245cb6a937e0cbebffec813f46e64f5.zip
Make sure install path for java classes is properly defined (re:#295)
Diffstat (limited to 'java/CMakeLists.txt')
-rw-r--r--java/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt
index 4b9c943a..ecf86b07 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})")