]> 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:36:06 +0000 (09:36 -0400)
java/CMakeLists.txt

index 34f7643f5f817925222ce3797e1be91f89e70f19..01c2c761aaa229a748f58ceb813f2d73240675b7 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})")