summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-04-07 14:34:33 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-04-07 14:34:33 (GMT)
commitb27a20f8c0e286ea7c2836605632ea2ee5522d03 (patch)
treef09062688857bd993c8594a10267009473d0c8e2 /java
parentf6514c35ea3786206a8db73e1cad8fce8fe6a715 (diff)
parentf362e14add76bc137c8f9bb8542a697e48900b91 (diff)
downloadhdf5-b27a20f8c0e286ea7c2836605632ea2ee5522d03.zip
hdf5-b27a20f8c0e286ea7c2836605632ea2ee5522d03.tar.gz
hdf5-b27a20f8c0e286ea7c2836605632ea2ee5522d03.tar.bz2
Merge pull request #2489 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'f362e14add76bc137c8f9bb8542a697e48900b91': Hide Frortran directive warnings Remove flag from gfort-general in gfort-5, add /EHsc to Win C++ Update printf pointer syntax and revert fortran to f2003 Reduce window fortran standard to f90 Minor updates and fix settings for fortran flags Update intel flags Fix missing endif Correct improper file move Move intel warnings to subfolder, update autotools files Corrected note Remove overzealous additions Correct whitespace in flags, force list mode Flag construction must be after compiler detection TRILAB-192 add c++ and fortran warnings build systems one file Update release note for CMake warnings Add missing header include
Diffstat (limited to 'java')
-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)