mirror of https://github.com/microsoft/vcpkg.git
[miniz] Install pkgconfig files to the correct location. (#21025)
This commit is contained in:
parent
843e0ba0d8
commit
62de5626aa
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index f12435b..edee1f4 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -163,7 +163,7 @@ if(NOT BUILD_HEADER_ONLY)
|
||||
if(INSTALL_PROJECT)
|
||||
install(FILES
|
||||
${CMAKE_CURRENT_BINARY_DIR}/miniz.pc
|
||||
- DESTINATION ${CMAKE_INSTALL_DATADIR}/pkgconfig)
|
||||
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
@ -4,6 +4,8 @@ vcpkg_from_github(
|
|||
REF 2.2.0
|
||||
SHA512 0bb2b0ac627715b90ff9fd69ca8958a0bea387bd7ddf5c200daba953b98ef788092e3009842f4f123234e85570159250c8897a30c1c1f2d4dea9bca9837f6111
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
fix-pkgconfig-location.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "miniz",
|
||||
"version": "2.2.0",
|
||||
"port-version": 1,
|
||||
"description": "Single C source file zlib-replacement library",
|
||||
"homepage": "https://github.com/richgel999/miniz",
|
||||
"dependencies": [
|
||||
|
|
|
|||
|
|
@ -4350,7 +4350,7 @@
|
|||
},
|
||||
"miniz": {
|
||||
"baseline": "2.2.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"minizip": {
|
||||
"baseline": "1.2.11",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "49751d73421ae465b278aea471d6c8903837697c",
|
||||
"version": "2.2.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "5a146337e0416425fb7a412027c755681cf88921",
|
||||
"version": "2.2.0",
|
||||
|
|
|
|||
Loading…
Reference in New Issue