diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-04-05 15:50:08 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-04-05 15:50:08 (GMT) |
commit | 57f5d00a43421e4d2847d55560e4015f28cf162f (patch) | |
tree | e4fd18aca4f73eeb3bc8ca4ca115150f2b91abd4 /java/src | |
parent | 7a41367a130a615f06e5c35154abbdc621c7c6b7 (diff) | |
download | hdf5-57f5d00a43421e4d2847d55560e4015f28cf162f.zip hdf5-57f5d00a43421e4d2847d55560e4015f28cf162f.tar.gz hdf5-57f5d00a43421e4d2847d55560e4015f28cf162f.tar.bz2 |
TRILAB-192 add c++ and fortran warnings build systems one file
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/jni/CMakeLists.txt | 4 |
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) |