|
4 | 4 | #
|
5 | 5 | # This file is part of HDF5. The full HDF5 copyright notice, including
|
6 | 6 | # terms governing use, modification, and redistribution, is contained in
|
7 |
| -# the COPYING file, which can be found at the root of the source code |
| 7 | +# the LICENSE file, which can be found at the root of the source code |
8 | 8 | # distribution tree, or in https://www.hdfgroup.org/licenses.
|
9 | 9 | # If you do not have access to either file, you may request a copy from
|
10 | 10 |
|
@@ -180,18 +180,18 @@ endif ()
|
180 | 180 | HDF_README_PROPERTIES(HDF5_BUILD_FORTRAN)
|
181 | 181 |
|
182 | 182 | #-----------------------------------------------------------------------------
|
183 |
| -# Configure the COPYING.txt file for the windows binary package |
| 183 | +# Configure the LICENSE.txt file for the windows binary package |
184 | 184 | #-----------------------------------------------------------------------------
|
185 | 185 | if (WIN32)
|
186 |
| - configure_file (${HDF5_SOURCE_DIR}/COPYING ${HDF5_BINARY_DIR}/COPYING.txt @ONLY) |
| 186 | + configure_file (${HDF5_SOURCE_DIR}/LICENSE ${HDF5_BINARY_DIR}/LICENSE.txt @ONLY) |
187 | 187 | endif ()
|
188 | 188 |
|
189 | 189 | #-----------------------------------------------------------------------------
|
190 | 190 | # Add Document File(s) to CMake Install
|
191 | 191 | #-----------------------------------------------------------------------------
|
192 | 192 | if (NOT HDF5_EXTERNALLY_CONFIGURED)
|
193 | 193 | install (
|
194 |
| - FILES ${HDF5_SOURCE_DIR}/COPYING |
| 194 | + FILES ${HDF5_SOURCE_DIR}/LICENSE |
195 | 195 | DESTINATION ${HDF5_INSTALL_DATA_DIR}
|
196 | 196 | COMPONENT hdfdocuments
|
197 | 197 | )
|
@@ -255,7 +255,7 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED AND NOT HDF5_NO_PACKAGES)
|
255 | 255 | set (CPACK_PACKAGE_VERSION_MAJOR "${HDF5_PACKAGE_VERSION_MAJOR}")
|
256 | 256 | set (CPACK_PACKAGE_VERSION_MINOR "${HDF5_PACKAGE_VERSION_MINOR}")
|
257 | 257 | set (CPACK_PACKAGE_VERSION_PATCH "")
|
258 |
| - set (CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING") |
| 258 | + set (CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE") |
259 | 259 | if (EXISTS "${HDF5_SOURCE_DIR}/release_docs")
|
260 | 260 | set (CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/release_docs/RELEASE.txt")
|
261 | 261 | set (CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/release_docs/RELEASE.txt")
|
@@ -321,7 +321,7 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED AND NOT HDF5_NO_PACKAGES)
|
321 | 321 | # With CPACK_WIX_LICENSE_RTF you can override the license file used by the
|
322 | 322 | # WiX Generator in case CPACK_RESOURCE_FILE_LICENSE is in an unsupported
|
323 | 323 | # format or the .txt -> .rtf conversion does not work as expected.
|
324 |
| - set (CPACK_RESOURCE_FILE_LICENSE "${HDF5_BINARY_DIR}/COPYING.txt") |
| 324 | + set (CPACK_RESOURCE_FILE_LICENSE "${HDF5_BINARY_DIR}/LICENSE.txt") |
325 | 325 | # .. variable:: CPACK_WIX_PRODUCT_ICON
|
326 | 326 | # The Icon shown next to the program name in Add/Remove programs.
|
327 | 327 | set(CPACK_WIX_PRODUCT_ICON "${HDF_RESOURCES_DIR}\\\\hdf.ico")
|
|
0 commit comments