summaryrefslogtreecommitdiffstats
path: root/tools/src/h5stat
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2018-05-23 19:27:05 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2018-05-23 19:27:05 (GMT)
commitbe2fc7dcd1720590e9970edc6c74a48329fccbc2 (patch)
tree2d9be408e9d982356095eb64cac1d5edaafd3d63 /tools/src/h5stat
parentb178d80be0946e3d332ecf575b2f145837cc9454 (diff)
parent2b0fb7e3f1f7da5b23d430702493ed4fb7f87166 (diff)
downloadhdf5-be2fc7dcd1720590e9970edc6c74a48329fccbc2.zip
hdf5-be2fc7dcd1720590e9970edc6c74a48329fccbc2.tar.gz
hdf5-be2fc7dcd1720590e9970edc6c74a48329fccbc2.tar.bz2
Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '2b0fb7e3f1f7da5b23d430702493ed4fb7f87166': (21 commits) HDFFV-9739 only executes H5E tests in production Remove link flag from compile command fix typo Add release note Correct attribute location HDFFV-9739 fix copy testfiles command HDFFV-9739 remove obsolete test files HDFFV-9739 dup test file for concurrent tests HDFFV-9739 Fix autotools script HDFFV-9739 Change autotools test scripts Fix typo HDFFV-9739 Update test reference Update current windows test machines HDFFV-9739 Grab err number before API call HDFFV-9739 Add release note Adjust test names for concurrent tests Fix soversion HDFFV-9739 Fix copy name HDFFV-9739 factor out tests into separate JUnit Updated the threadsafety test to use error macros instead of asserts. ...
Diffstat (limited to 'tools/src/h5stat')
-rw-r--r--tools/src/h5stat/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/src/h5stat/CMakeLists.txt b/tools/src/h5stat/CMakeLists.txt
index 810d916..56c172c 100644
--- a/tools/src/h5stat/CMakeLists.txt
+++ b/tools/src/h5stat/CMakeLists.txt
@@ -5,7 +5,7 @@ project (HDF5_TOOLS_SRC_H5STAT C)
# Add the h5stat executables
# --------------------------------------------------------------------
add_executable (h5stat ${HDF5_TOOLS_SRC_H5STAT_SOURCE_DIR}/h5stat.c)
-target_include_directories(h5stat PRIVATE "${HDF5_TOOLS_DIR}/lib;${HDF5_SRC_DIR};${HDF5_BINARY_DIR}")
+target_include_directories(h5stat PRIVATE "${HDF5_TOOLS_DIR}/lib;${HDF5_SRC_DIR};${HDF5_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>")
TARGET_C_PROPERTIES (h5stat STATIC)
target_link_libraries (h5stat PRIVATE ${HDF5_TOOLS_LIB_TARGET} ${HDF5_LIB_TARGET})
set_target_properties (h5stat PROPERTIES FOLDER tools)
@@ -15,7 +15,7 @@ set (H5_DEP_EXECUTABLES h5stat)
if (BUILD_SHARED_LIBS)
add_executable (h5stat-shared ${HDF5_TOOLS_SRC_H5STAT_SOURCE_DIR}/h5stat.c)
- target_include_directories(h5stat-shared PRIVATE "${HDF5_TOOLS_DIR}/lib;${HDF5_SRC_DIR};${HDF5_BINARY_DIR}")
+ target_include_directories(h5stat-shared PRIVATE "${HDF5_TOOLS_DIR}/lib;${HDF5_SRC_DIR};${HDF5_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>")
TARGET_C_PROPERTIES (h5stat-shared SHARED)
target_link_libraries (h5stat-shared PRIVATE ${HDF5_TOOLS_LIBSH_TARGET} ${HDF5_LIBSH_TARGET})
set_target_properties (h5stat-shared PROPERTIES FOLDER tools)