summaryrefslogtreecommitdiffstats
path: root/src/java/native/CMakeLists.txt
blob: 915db486de8416658e11a2091fd993fbbf095612 (plain)
1
2
3
4
5
6
7
8
9
10
add_library(cephfs_jni SHARED
  libcephfs_jni.cc
  ScopedLocalRef.h
  JniConstants.cpp
  JniConstants.h)
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)