aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <adam-bloom@users.noreply.github.com>2021-01-12 21:12:44 -0700
committerGitHub <noreply@github.com>2021-01-12 20:12:44 -0800
commit0fe5f85e7bafcbe0e7a38cb661a975f32ac89bf0 (patch)
treef74c2beef7b0dd7834357d9fb768b82625c3fbb8
parenta5b371b289172bf535509e6b30b112cf1673c4d2 (diff)
downloadvcpkg-0fe5f85e7bafcbe0e7a38cb661a975f32ac89bf0.tar.gz
vcpkg-0fe5f85e7bafcbe0e7a38cb661a975f32ac89bf0.zip
[libzip] Relative pkgconfig paths (#15589)
-rw-r--r--ports/libzip/CONTROL1
-rw-r--r--ports/libzip/portfile.cmake1
2 files changed, 2 insertions, 0 deletions
diff --git a/ports/libzip/CONTROL b/ports/libzip/CONTROL
index d0f5e7fa0..cb192aa10 100644
--- a/ports/libzip/CONTROL
+++ b/ports/libzip/CONTROL
@@ -1,5 +1,6 @@
Source: libzip
Version: 1.7.3
+Port-Version: 1
Homepage: https://github.com/nih-at/libzip
Build-Depends: zlib
Default-Features: bzip2,default-aes
diff --git a/ports/libzip/portfile.cmake b/ports/libzip/portfile.cmake
index eb42311b8..7432d4e17 100644
--- a/ports/libzip/portfile.cmake
+++ b/ports/libzip/portfile.cmake
@@ -33,6 +33,7 @@ vcpkg_install_cmake()
vcpkg_copy_pdbs()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake TARGET_PATH share/libzip)
+vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
# Remove include directories from lib