summaryrefslogtreecommitdiffstats
path: root/hl/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2014-02-04 15:29:04 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2014-02-04 15:29:04 (GMT)
commit551c147aa98670cc0e05c4e5d256195ee9613887 (patch)
tree9f2bba31b47135e1c1efa151be077a18182c8e6c /hl/src
parentea30f2156b29d7754eae6a58e8824f121f5e2d39 (diff)
downloadhdf5-551c147aa98670cc0e05c4e5d256195ee9613887.zip
hdf5-551c147aa98670cc0e05c4e5d256195ee9613887.tar.gz
hdf5-551c147aa98670cc0e05c4e5d256195ee9613887.tar.bz2
[svn-r24684] Add IF SHARED block around Windows PDB file generation command.
Diffstat (limited to 'hl/src')
-rw-r--r--hl/src/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/hl/src/CMakeLists.txt b/hl/src/CMakeLists.txt
index 5904d05..9640c02 100644
--- a/hl/src/CMakeLists.txt
+++ b/hl/src/CMakeLists.txt
@@ -58,8 +58,9 @@ INSTALL (
# Add Target(s) to CMake Install for import into other projects
#-----------------------------------------------------------------------------
IF (HDF5_EXPORTED_TARGETS)
-
- INSTALL_TARGET_PDB (${HDF5_HL_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} hllibraries)
+ IF (BUILD_SHARED_LIBS)
+ INSTALL_TARGET_PDB (${HDF5_HL_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} hllibraries)
+ ENDIF (BUILD_SHARED_LIBS)
INSTALL (
TARGETS