From 7a65d8ea3abbcb1d55f65d4e8364d43acf0c2dfa Mon Sep 17 00:00:00 2001 From: "Brian P. Hinz" Date: Sun, 7 May 2017 09:33:54 -0400 Subject: [PATCH] Make sure install path for java classes is properly defined (re:#295) --- java/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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})") -- 2.39.5