summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2015-03-17 14:11:50 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2015-03-17 14:11:50 (GMT)
commit17f78f8469fca0787aa9ef8fbed07d55b0ee4510 (patch)
tree3db31bb6748d422837f030b1778858b77ef924d5
parent96c424d8bc5f47f12826a86668702b857b70fb3c (diff)
downloadhdf5-17f78f8469fca0787aa9ef8fbed07d55b0ee4510.zip
hdf5-17f78f8469fca0787aa9ef8fbed07d55b0ee4510.tar.gz
hdf5-17f78f8469fca0787aa9ef8fbed07d55b0ee4510.tar.bz2
[svn-r26463] static builds do not have dlls needed for the path
-rw-r--r--CMakeInstallation.cmake5
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)