aboutsummaryrefslogtreecommitdiffstats
path: root/java/CMakeLists.txt
diff options
context:
space:
mode:
authorPetre Eftime <[email protected]>2016-05-17 17:34:48 +0300
committerPetre Eftime <[email protected]>2016-05-17 17:34:48 +0300
commitdf5204ea64ddcd79e23ab3c4ec8edbf87f65d34e (patch)
treeb570c87615bf83ae53c4e4abc9d91b75a7be5827 /java/CMakeLists.txt
parent44ea9ff1da0e10a7e0e8c14167f0fc7e8937bd3a (diff)
java: cmake created wrong path for symlink when VERSION was specified, fixed install path
Signed-off-by: Petre Eftime <[email protected]>
Diffstat (limited to 'java/CMakeLists.txt')
-rw-r--r--java/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt
index d7c8183b..0a41b22a 100644
--- a/java/CMakeLists.txt
+++ b/java/CMakeLists.txt
@@ -20,7 +20,6 @@ set(CMAKE_JNI_TARGET TRUE)
file(GLOB JAVA_SOURCES "*.java")
add_jar(tinybjar ${JAVA_SOURCES}
MANIFEST ${CMAKE_CURRENT_BINARY_DIR}/manifest.txt
- VERSION ${VERSION}
OUTPUT_NAME tinyb
)
@@ -44,6 +43,6 @@ add_custom_command (TARGET tinybjar
)
set(JNI_HEADER_PATH "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_FILES_DIRECTORY}/tinybjar.dir/jni")
-install_jar (tinybjar DESTINATION ${CMAKE_INSTALL_LIBDIR}/java)
+install_jar (tinybjar DESTINATION ${CMAKE_INSTALL_LIBDIR}/../lib/java)
add_subdirectory (jni)