From 22322ee18e1065c6285fc05df68065222067fa32 Mon Sep 17 00:00:00 2001 From: Victor Romero Date: Wed, 13 Jul 2022 10:05:17 -0700 Subject: [PATCH] use vcpkg_install_copyright() --- ports/liblsquic/portfile.cmake | 8 ++++---- versions/l-/liblsquic.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ports/liblsquic/portfile.cmake b/ports/liblsquic/portfile.cmake index 1996a35947e9db..1d3276082bf7db 100644 --- a/ports/liblsquic/portfile.cmake +++ b/ports/liblsquic/portfile.cmake @@ -64,10 +64,10 @@ endif() vcpkg_cmake_config_fixup(PACKAGE_NAME lsquic) # Concatenate license files and install -file(READ "${SOURCE_PATH}/LICENSE" LICENSE) -file(WRITE "${CURRENT_BUILDTREES_DIR}/copyright" "${LICENSE}") -file(READ "${SOURCE_PATH}/LICENSE.chrome" LICENSE_CHROME) -file(APPEND "${CURRENT_BUILDTREES_DIR}/copyright" "${LICENSE_CHROME}") +vcpkg_install_copyright(FILE_LIST + "${SOURCE_PATH}/LICENSE" + "${SOURCE_PATH}/LICENSE.chrome" +) file(INSTALL "${CURRENT_BUILDTREES_DIR}/copyright" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") diff --git a/versions/l-/liblsquic.json b/versions/l-/liblsquic.json index fc03bdb732c28d..e182c28c553f8d 100644 --- a/versions/l-/liblsquic.json +++ b/versions/l-/liblsquic.json @@ -1,7 +1,7 @@ { "versions": [ { - "git-tree": "132c01233d5cc2f1768f383e789496a141f14044", + "git-tree": "f6f4593aba81acc749f3223d0fd3987d5920b164", "version": "3.1.1", "port-version": 0 }