aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/gdal/portfile.cmake4
1 files changed, 1 insertions, 3 deletions
diff --git a/ports/gdal/portfile.cmake b/ports/gdal/portfile.cmake
index 1f3ca96e3..3d46cbccc 100644
--- a/ports/gdal/portfile.cmake
+++ b/ports/gdal/portfile.cmake
@@ -267,6 +267,4 @@ endif()
vcpkg_copy_pdbs()
# Handle copyright
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/gdal/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/gdal/copyright)
-
-message(STATUS "Packaging ${TARGET_TRIPLET} done")
+configure_file(${SOURCE_PATH_RELEASE}/LICENSE.TXT ${CURRENT_PACKAGES_DIR}/share/gdal/copyright COPYONLY)