diff options
| author | Lily <47812810+LilyWangL@users.noreply.github.com> | 2020-08-04 17:20:23 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-04 17:20:23 +0800 |
| commit | f05f89b15ef38bf543e6af8491f0972212fb2cc4 (patch) | |
| tree | cd83a8a3b72d8577c3640cd22bb7ff863fa300f2 | |
| parent | 72a2c236a0bedcff52d424717810a3e0455f32ca (diff) | |
| download | vcpkg-update-shapelib-150.tar.gz vcpkg-update-shapelib-150.zip | |
Update portfile.cmakeupdate-shapelib-150
| -rw-r--r-- | ports/shapelib/portfile.cmake | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ports/shapelib/portfile.cmake b/ports/shapelib/portfile.cmake index 2dfd2e1fb..3aceff84d 100644 --- a/ports/shapelib/portfile.cmake +++ b/ports/shapelib/portfile.cmake @@ -42,8 +42,7 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin) endif() -file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/shapelib) -file(RENAME ${CURRENT_PACKAGES_DIR}/share/shapelib/COPYING ${CURRENT_PACKAGES_DIR}/share/shapelib/copyright) +file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/shapelib) |
