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 /c++/test | |
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 'c++/test')
-rw-r--r-- | c++/test/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/c++/test/CMakeLists.txt b/c++/test/CMakeLists.txt index 29534a7..ca2295e 100644 --- a/c++/test/CMakeLists.txt +++ b/c++/test/CMakeLists.txt @@ -39,6 +39,7 @@ configure_file (${HDF5_CPP_TEST_SOURCE_DIR}/H5srcdir_str.h.in H5srcdir_str.h @O add_executable (cpp_testhdf5 ${CPP_TEST_SOURCES} ) target_include_directories (cpp_testhdf5 PRIVATE "${HDF5_SRC_DIR};${HDF5_BINARY_DIR};${HDF5_TEST_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>") +target_compile_options(cpp_testhdf5 PRIVATE "${HDF5_CMAKE_CXX_FLAGS}") target_compile_definitions(cpp_testhdf5 PRIVATE $<$<BOOL:${HDF5_ENABLE_PARALLEL}>:MPICH_SKIP_MPICXX;MPICH_IGNORE_CXX_SEEK># Parallel/MPI, prevent spurious cpp/cxx warnings ) |