summaryrefslogtreecommitdiffstats
path: root/tools/src/h5ls/CMakeLists.txt
diff options
context:
space:
mode:
authorVailin Choi <vchoi@jam.ad.hdfgroup.org>2018-01-12 23:51:42 (GMT)
committerVailin Choi <vchoi@jam.ad.hdfgroup.org>2018-01-12 23:51:42 (GMT)
commit120d02657b4c7dff45dd8e83b8f1aaa0c7e51373 (patch)
tree19935f8689df3319e6661f8b393d6eda16cefd45 /tools/src/h5ls/CMakeLists.txt
parent37318f109a294bb47e5040be5888963967c1badc (diff)
parentaef900c6741aea851b218169648185b1c8e5e435 (diff)
downloadhdf5-120d02657b4c7dff45dd8e83b8f1aaa0c7e51373.zip
hdf5-120d02657b4c7dff45dd8e83b8f1aaa0c7e51373.tar.gz
hdf5-120d02657b4c7dff45dd8e83b8f1aaa0c7e51373.tar.bz2
Merge branch develop into bugfix/version_bounds
Diffstat (limited to 'tools/src/h5ls/CMakeLists.txt')
-rw-r--r--tools/src/h5ls/CMakeLists.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/src/h5ls/CMakeLists.txt b/tools/src/h5ls/CMakeLists.txt
index 2e23634..0e3d57f 100644
--- a/tools/src/h5ls/CMakeLists.txt
+++ b/tools/src/h5ls/CMakeLists.txt
@@ -39,10 +39,9 @@ endif ()
# Rules for Installation of tools using make Install target
#-----------------------------------------------------------------------------
if (HDF5_EXPORTED_TARGETS)
- if (BUILD_SHARED_LIBS)
- INSTALL_PROGRAM_PDB (h5ls-shared ${HDF5_INSTALL_BIN_DIR} toolsapplications)
- endif ()
- INSTALL_PROGRAM_PDB (h5ls ${HDF5_INSTALL_BIN_DIR} toolsapplications)
+ foreach (exec ${H5_DEP_EXECUTABLES})
+ INSTALL_PROGRAM_PDB (${exec} ${HDF5_INSTALL_BIN_DIR} toolsapplications)
+ endforeach ()
install (
TARGETS