summaryrefslogtreecommitdiffstats
path: root/CMakeInstallation.cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-09-19 01:58:51 (GMT)
committerGitHub <noreply@github.com>2023-09-19 01:58:51 (GMT)
commitd9d99238a0a14ad8891a9d6aa3bc66c5ef7a94b5 (patch)
tree8a64ddb0ab4cd0f7f786b8c48f06949d32cf97d4 /CMakeInstallation.cmake
parent18c5080a2c6c6dcfc9c35e46890e3f89095d2215 (diff)
downloadhdf5-d9d99238a0a14ad8891a9d6aa3bc66c5ef7a94b5.zip
hdf5-d9d99238a0a14ad8891a9d6aa3bc66c5ef7a94b5.tar.gz
hdf5-d9d99238a0a14ad8891a9d6aa3bc66c5ef7a94b5.tar.bz2
Sync CMake and doxygen changes with develop (#3543)
* Sync CMake and doxygen changes from develop * Add missing images
Diffstat (limited to 'CMakeInstallation.cmake')
-rw-r--r--CMakeInstallation.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeInstallation.cmake b/CMakeInstallation.cmake
index 1fb7714..71186ff 100644
--- a/CMakeInstallation.cmake
+++ b/CMakeInstallation.cmake
@@ -390,7 +390,9 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED AND NOT HDF5_NO_PACKAGES)
set(CPACK_WIX_PROPERTY_ARPURLINFOABOUT "${HDF5_PACKAGE_URL}")
set(CPACK_WIX_PROPERTY_ARPHELPLINK "${HDF5_PACKAGE_BUGREPORT}")
if (BUILD_SHARED_LIBS)
- set(CPACK_WIX_PATCH_FILE "${HDF_RESOURCES_DIR}/patch.xml")
+ set (WIX_CMP_NAME "${HDF5_LIB_NAME}${CMAKE_DEBUG_POSTFIX}")
+ configure_file (${HDF_RESOURCES_DIR}/patch.xml.in ${HDF5_BINARY_DIR}/patch.xml @ONLY)
+ set(CPACK_WIX_PATCH_FILE "${HDF5_BINARY_DIR}/patch.xml")
endif ()
elseif (APPLE)
list (APPEND CPACK_GENERATOR "STGZ")