summaryrefslogtreecommitdiffstats
path: root/tools/src/h5dump
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-01-09 15:56:28 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-01-09 15:56:28 (GMT)
commitbe42e047913c332f148db3b8a9180e6a2eb5c23a (patch)
tree23276c4d161389897d8c495d3be5fe33081165ac /tools/src/h5dump
parent823755ace8b7c90bab277c691ebbcc8683bde0df (diff)
downloadhdf5-be42e047913c332f148db3b8a9180e6a2eb5c23a.zip
hdf5-be42e047913c332f148db3b8a9180e6a2eb5c23a.tar.gz
hdf5-be42e047913c332f148db3b8a9180e6a2eb5c23a.tar.bz2
HDFFV-10385 refactor CMAKE_BUILD_TYPE usage
Diffstat (limited to 'tools/src/h5dump')
-rw-r--r--tools/src/h5dump/CMakeLists.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/src/h5dump/CMakeLists.txt b/tools/src/h5dump/CMakeLists.txt
index 65a7cdd..c58b20c 100644
--- a/tools/src/h5dump/CMakeLists.txt
+++ b/tools/src/h5dump/CMakeLists.txt
@@ -47,10 +47,9 @@ endif ()
# Rules for Installation of tools using make Install target
#-----------------------------------------------------------------------------
if (HDF5_EXPORTED_TARGETS)
- if (BUILD_SHARED_LIBS)
- INSTALL_PROGRAM_PDB (h5dump-shared ${HDF5_INSTALL_BIN_DIR} toolsapplications)
- endif ()
- INSTALL_PROGRAM_PDB (h5dump ${HDF5_INSTALL_BIN_DIR} toolsapplications)
+ foreach (exec ${H5_DEP_EXECUTABLES})
+ INSTALL_PROGRAM_PDB (${exec} ${HDF5_INSTALL_BIN_DIR} toolsapplications)
+ endforeach ()
install (
TARGETS