summaryrefslogtreecommitdiffstats
path: root/tools/src/h5diff
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-01-08 22:04:46 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-01-08 22:04:46 (GMT)
commit49479589d342324b564003738f2d259ae40b5aca (patch)
treefce13c862a5c1b0a808d6b2c18532e8aea71c611 /tools/src/h5diff
parentca327ba1c42c1cab1b0b38bde76a1baaec73407f (diff)
downloadhdf5-49479589d342324b564003738f2d259ae40b5aca.zip
hdf5-49479589d342324b564003738f2d259ae40b5aca.tar.gz
hdf5-49479589d342324b564003738f2d259ae40b5aca.tar.bz2
HDFFV-10385 Refactor use of CMAKE_BUILD_TYPE
Diffstat (limited to 'tools/src/h5diff')
-rw-r--r--tools/src/h5diff/CMakeLists.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/src/h5diff/CMakeLists.txt b/tools/src/h5diff/CMakeLists.txt
index 00d93de..b0cf66e 100644
--- a/tools/src/h5diff/CMakeLists.txt
+++ b/tools/src/h5diff/CMakeLists.txt
@@ -57,10 +57,9 @@ endif ()
# Rules for Installation of tools using make Install target
#-----------------------------------------------------------------------------
if (HDF5_EXPORTED_TARGETS)
- if (BUILD_SHARED_LIBS)
- INSTALL_PROGRAM_PDB (h5diff-shared ${HDF5_INSTALL_BIN_DIR} toolsapplications)
- endif ()
- INSTALL_PROGRAM_PDB (h5diff ${HDF5_INSTALL_BIN_DIR} toolsapplications)
+ foreach (exec ${H5_DEP_EXECUTABLES})
+ INSTALL_PROGRAM_PDB (${exec} ${HDF5_INSTALL_BIN_DIR} toolsapplications)
+ endforeach ()
install (
TARGETS