Skip to content

Commit

Permalink
cmake: version libcephfs_jni
Browse files Browse the repository at this point in the history
so we have libcephfs_jni.so.1.0.0 and libcephfs_jni.so.1, which are
expected by ceph.spec

Signed-off-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
tchaikov committed Jul 2, 2016
1 parent f8f282e commit f5d9128
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/java/native/CMakeLists.txt
Expand Up @@ -3,6 +3,9 @@ add_library(cephfs_jni SHARED
ScopedLocalRef.h
JniConstants.cpp
JniConstants.h)
set_target_properties(cephfs_jni PROPERTIES
VERSION 1.0.0
SOVERSION 1)
add_dependencies(cephfs_jni jni-header)
include_directories(${JNI_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR})
target_link_libraries(cephfs_jni LINK_PRIVATE cephfs common ${EXTRALIBS} ${JNI_LIBRARIES})
Expand Down

0 comments on commit f5d9128

Please sign in to comment.