diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2017-12-28 22:49:50 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2017-12-28 22:49:50 (GMT) |
commit | bd34c9e455988ab1d4e550ff16c0410b5624298a (patch) | |
tree | b1514f2f775cf1329791dbb2a9e008256fb054d9 /examples | |
parent | 732074d47e02c2e01fe794351c681d64b93a5f47 (diff) | |
download | hdf5-bd34c9e455988ab1d4e550ff16c0410b5624298a.zip hdf5-bd34c9e455988ab1d4e550ff16c0410b5624298a.tar.gz hdf5-bd34c9e455988ab1d4e550ff16c0410b5624298a.tar.bz2 |
HDFFV-9724 Corrected files and verified tests
Diffstat (limited to 'examples')
-rw-r--r-- | examples/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index d8eb1a2..04a99ce 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -63,13 +63,13 @@ if (H5_HAVE_PARALLEL) add_executable (ph5example ${HDF5_EXAMPLES_SOURCE_DIR}/ph5example.c) TARGET_NAMING (ph5example STATIC) TARGET_C_PROPERTIES (ph5example STATIC " " " ") - target_link_libraries (ph5example ${HDF5_LIB_TARGET}) + target_link_libraries (ph5example ${HDF5_LIB_TARGET} ${MPI_C_LIBRARIES}) set_target_properties (ph5example PROPERTIES FOLDER examples) if (BUILD_SHARED_LIBS) add_executable (ph5example-shared ${HDF5_EXAMPLES_SOURCE_DIR}/ph5example.c) TARGET_NAMING (ph5example-shared SHARED) TARGET_C_PROPERTIES (ph5example-shared SHARED " " " ") - target_link_libraries (ph5example-shared ${HDF5_LIBSH_TARGET}) + target_link_libraries (ph5example-shared ${HDF5_LIBSH_TARGET} ${MPI_C_LIBRARIES}) set_target_properties (ph5example-shared PROPERTIES FOLDER examples) endif () endif () |