summaryrefslogtreecommitdiffstats
path: root/java/src/jni
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-04-05 15:50:08 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:31:57 (GMT)
commitf5dc2a2f8dce02f947694b96e80d0906e8c999e7 (patch)
treec0e32f29c0166e12079d4154f9a2f36f8d64d1c4 /java/src/jni
parent9cc06d671ab355db8dfc65588f6551aed661130e (diff)
downloadhdf5-f5dc2a2f8dce02f947694b96e80d0906e8c999e7.zip
hdf5-f5dc2a2f8dce02f947694b96e80d0906e8c999e7.tar.gz
hdf5-f5dc2a2f8dce02f947694b96e80d0906e8c999e7.tar.bz2
TRILAB-192 add c++ and fortran warnings build systems one file
Diffstat (limited to 'java/src/jni')
-rw-r--r--java/src/jni/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/java/src/jni/CMakeLists.txt b/java/src/jni/CMakeLists.txt
index dc9b223..3f71122 100644
--- a/java/src/jni/CMakeLists.txt
+++ b/java/src/jni/CMakeLists.txt
@@ -79,9 +79,7 @@ add_library (${HDF5_JAVA_JNI_LIB_TARGET} SHARED ${HDF5_JAVA_JNI_CSRCS} ${HDF5_JA
target_include_directories (${HDF5_JAVA_JNI_LIB_TARGET}
PRIVATE "${HDF5_SRC_DIR};${HDF5_BINARY_DIR};${HDF5_JAVA_JNI_SOURCE_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>"
)
-target_compile_options(${HDF5_JAVA_JNI_LIB_TARGET}
- PRIVATE "${HDF5_CMAKE_C_FLAGS}"
-)
+target_compile_options(${HDF5_JAVA_JNI_LIB_TARGET} PRIVATE "${HDF5_CMAKE_C_FLAGS}")
TARGET_C_PROPERTIES (${HDF5_JAVA_JNI_LIB_TARGET} SHARED)
target_link_libraries (${HDF5_JAVA_JNI_LIB_TARGET} PUBLIC ${HDF5_LIBSH_TARGET})
set_target_properties (${HDF5_JAVA_JNI_LIB_TARGET} PROPERTIES FOLDER libraries/jni)