summaryrefslogtreecommitdiffstats
path: root/java/src/jni
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-06-20 11:55:05 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-06-20 11:55:05 (GMT)
commit7ee92d580510a7d90db7f3be8d2061c9c8f09a1b (patch)
treee810e42048e557b954b713185c40793938f8d375 /java/src/jni
parentc2a744995125e308f1a37d6daaa9749126cf9f60 (diff)
downloadhdf5-7ee92d580510a7d90db7f3be8d2061c9c8f09a1b.zip
hdf5-7ee92d580510a7d90db7f3be8d2061c9c8f09a1b.tar.gz
hdf5-7ee92d580510a7d90db7f3be8d2061c9c8f09a1b.tar.bz2
HDFFV-10805 Merge SHARED ONLY option from develop
Diffstat (limited to 'java/src/jni')
-rw-r--r--java/src/jni/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/jni/CMakeLists.txt b/java/src/jni/CMakeLists.txt
index ca48fa6..f3e6012 100644
--- a/java/src/jni/CMakeLists.txt
+++ b/java/src/jni/CMakeLists.txt
@@ -74,7 +74,7 @@ set (CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE ON)
########### JNI libraries always must be built shared ###############
add_library (${HDF5_JAVA_JNI_LIB_TARGET} SHARED ${HDF5_JAVA_JNI_CSRCS} ${HDF5_JAVA_JNI_CHDRS})
-target_include_directories(${HDF5_JAVA_JNI_LIB_TARGET}
+target_include_directories (${HDF5_JAVA_JNI_LIB_TARGET}
PRIVATE "${HDF5_BINARY_DIR};${HDF5_JAVA_JNI_SOURCE_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>"
)
TARGET_C_PROPERTIES (${HDF5_JAVA_JNI_LIB_TARGET} SHARED)