diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2015-03-17 14:11:50 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2015-03-17 14:11:50 (GMT) |
commit | 17f78f8469fca0787aa9ef8fbed07d55b0ee4510 (patch) | |
tree | 3db31bb6748d422837f030b1778858b77ef924d5 /CMakeInstallation.cmake | |
parent | 96c424d8bc5f47f12826a86668702b857b70fb3c (diff) | |
download | hdf5-17f78f8469fca0787aa9ef8fbed07d55b0ee4510.zip hdf5-17f78f8469fca0787aa9ef8fbed07d55b0ee4510.tar.gz hdf5-17f78f8469fca0787aa9ef8fbed07d55b0ee4510.tar.bz2 |
[svn-r26463] static builds do not have dlls needed for the path
Diffstat (limited to 'CMakeInstallation.cmake')
-rw-r--r-- | CMakeInstallation.cmake | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeInstallation.cmake b/CMakeInstallation.cmake index 1df5311..74224a2 100644 --- a/CMakeInstallation.cmake +++ b/CMakeInstallation.cmake @@ -363,8 +363,9 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED AND NOT HDF5_NO_PACKAGES) set(CPACK_WIX_PROPERTY_ARPCOMMENTS "HDF5 (Hierarchical Data Format 5) Software Library and Utilities") set(CPACK_WIX_PROPERTY_ARPURLINFOABOUT "${HDF5_PACKAGE_URL}") set(CPACK_WIX_PROPERTY_ARPHELPLINK "${HDF5_PACKAGE_BUGREPORT}") - - set(CPACK_WIX_PATCH_FILE "${HDF_RESOURCES_DIR}/patch.xml") + if (BUILD_SHARED_LIBS) + set(CPACK_WIX_PATCH_FILE "${HDF_RESOURCES_DIR}/patch.xml") + endif (BUILD_SHARED_LIBS) elseif (APPLE) list (APPEND CPACK_GENERATOR "DragNDrop") set (CPACK_COMPONENTS_ALL_IN_ONE_PACKAGE ON) |