summaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2016-07-02 09:52:59 +0200
committerKefu Chai <kchai@redhat.com>2016-07-02 13:17:05 +0200
commit2c4709bc8d9d6fc420fcfee9291fae2dc6863c8b (patch)
tree3f702d49d4dd47d08379c850cb91c41011535a29 /src/java
parentcmake: install python srcs into platform-independent dir (diff)
downloadceph-2c4709bc8d9d6fc420fcfee9291fae2dc6863c8b.tar.xz
ceph-2c4709bc8d9d6fc420fcfee9291fae2dc6863c8b.zip
cmake: install lib{rgw,cephfs_jni} into ${CMAKE_INSTALL_LIBDIR} not lib
rh and suse distros follows FHS and put amd64 dso libs into lib64 on amd64 machines. so let's use ${CMAKE_INSTALL_LIBDIR} instead Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'src/java')
-rw-r--r--src/java/native/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/native/CMakeLists.txt b/src/java/native/CMakeLists.txt
index 915db486de8..42c3fdf15e9 100644
--- a/src/java/native/CMakeLists.txt
+++ b/src/java/native/CMakeLists.txt
@@ -7,4 +7,4 @@ 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})
install(TARGETS cephfs_jni
- DESTINATION lib)
+ DESTINATION ${CMAKE_INSTALL_LIBDIR})