diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2014-02-04 15:29:04 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2014-02-04 15:29:04 (GMT) |
commit | 551c147aa98670cc0e05c4e5d256195ee9613887 (patch) | |
tree | 9f2bba31b47135e1c1efa151be077a18182c8e6c /fortran | |
parent | ea30f2156b29d7754eae6a58e8824f121f5e2d39 (diff) | |
download | hdf5-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 'fortran')
-rw-r--r-- | fortran/src/CMakeLists.txt | 7 |
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 |