From: Brian P. Hinz Date: Sun, 7 May 2017 13:33:54 +0000 (-0400) Subject: Make sure install path for java classes is properly defined (re:#295) X-Git-Tag: v1.8.90~152 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5f0e60551245cb6a937e0cbebffec813f46e64f5;p=tigervnc.git Make sure install path for java classes is properly defined (re:#295) --- 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})")