diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2014-02-04 15:11:36 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2014-02-04 15:11:36 (GMT) |
commit | 6569d7437a84b8e9991670ecfb6447f53c9cc1ae (patch) | |
tree | 83e8298cd7414c68256a3fc24d828e68ed45398d /tools/lib | |
parent | ee10548723a74680a65ad0f324602e172b246f19 (diff) | |
download | hdf5-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 'tools/lib')
-rw-r--r-- | tools/lib/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/lib/CMakeLists.txt b/tools/lib/CMakeLists.txt index 6649e48..43ef6ba 100644 --- a/tools/lib/CMakeLists.txt +++ b/tools/lib/CMakeLists.txt @@ -86,8 +86,9 @@ ENDIF (APPLE) # Add Target(s) to CMake Install for import into other projects #----------------------------------------------------------------------------- IF (HDF5_EXPORTED_TARGETS) - - INSTALL_TARGET_PDB (${HDF5_TOOLS_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} toolslibraries) + IF (BUILD_SHARED_LIBS) + INSTALL_TARGET_PDB (${HDF5_TOOLS_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} toolslibraries) + ENDIF (BUILD_SHARED_LIBS) INSTALL ( TARGETS |