summaryrefslogtreecommitdiffstats
path: root/fortran/src/CMakeLists.txt
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2014-02-04 15:11:36 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2014-02-04 15:11:36 (GMT)
commit6569d7437a84b8e9991670ecfb6447f53c9cc1ae (patch)
tree83e8298cd7414c68256a3fc24d828e68ed45398d /fortran/src/CMakeLists.txt
parentee10548723a74680a65ad0f324602e172b246f19 (diff)
downloadhdf5-6569d7437a84b8e9991670ecfb6447f53c9cc1ae.zip
hdf5-6569d7437a84b8e9991670ecfb6447f53c9cc1ae.tar.gz
hdf5-6569d7437a84b8e9991670ecfb6447f53c9cc1ae.tar.bz2
[svn-r24682] Add IF SHARED block around Windows PDB file generation command.
Diffstat (limited to 'fortran/src/CMakeLists.txt')
-rw-r--r--fortran/src/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/fortran/src/CMakeLists.txt b/fortran/src/CMakeLists.txt
index 5d8c2d5..b040fd1 100644
--- a/fortran/src/CMakeLists.txt
+++ b/fortran/src/CMakeLists.txt
@@ -284,9 +284,10 @@ ENDIF (WIN32 AND NOT CYGWIN)
# Add Target(s) to CMake Install for import into other projects
#-----------------------------------------------------------------------------
IF (HDF5_EXPORTED_TARGETS)
-
- INSTALL_TARGET_PDB (${HDF5_F90_C_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} fortlibraries)
- #INSTALL_TARGET_PDB (${HDF5_F90_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} fortlibraries)
+ IF (BUILD_SHARED_LIBS)
+ INSTALL_TARGET_PDB (${HDF5_F90_C_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} fortlibraries)
+ #INSTALL_TARGET_PDB (${HDF5_F90_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} fortlibraries)
+ ENDIF (BUILD_SHARED_LIBS)
INSTALL (
TARGETS