From e4f253e1d1e1851bce3ea4a5511622696daf6d06 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 1 Feb 2019 13:24:20 +0100 Subject: Use standard install dir variable names This makes our builds directly compatible with most distributions without packagers/users having to specify extra flags. --- java/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'java') diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt index 00213d5e..b124fc5d 100644 --- a/java/CMakeLists.txt +++ b/java/CMakeLists.txt @@ -7,8 +7,6 @@ endif() find_package(Java) -set(DATA_DIR "${CMAKE_INSTALL_PREFIX}/share") - set(DEFAULT_JAVACFLAGS "-source 8 -target 8 -encoding UTF-8 -Xlint:all,-serial,-cast,-unchecked,-fallthrough,-dep-ann,-deprecation,-rawtypes") set(JAVACFLAGS ${DEFAULT_JAVACFLAGS} CACHE STRING "Java compiler flags (Default: ${DEFAULT_JAVACFLAGS})") -- cgit v1.2.3