]> source.dussan.org Git - tigervnc.git/commitdiff
Make sure install path for java classes is properly defined (re:#295)
authorBrian P. Hinz <bphinz@users.sf.net>
Sun, 7 May 2017 13:33:54 +0000 (09:33 -0400)
committerBrian P. Hinz <bphinz@users.sf.net>
Sun, 7 May 2017 13:38:43 +0000 (09:38 -0400)
java/CMakeLists.txt

index 4b9c943ab3df479a080dc788bcd638d654bb246a..ecf86b07b197edeb6d69af184e0da469f697f1fc 100644 (file)
@@ -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})")