Skip to content

Commit

Permalink
use vcpkg_install_copyright()
Browse files Browse the repository at this point in the history
  • Loading branch information
vicroms committed Jul 13, 2022
1 parent 6d1bf9b commit 22322ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions ports/liblsquic/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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}")

Expand Down
2 changes: 1 addition & 1 deletion versions/l-/liblsquic.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"versions": [
{
"git-tree": "132c01233d5cc2f1768f383e789496a141f14044",
"git-tree": "f6f4593aba81acc749f3223d0fd3987d5920b164",
"version": "3.1.1",
"port-version": 0
}
Expand Down

0 comments on commit 22322ee

Please sign in to comment.