[minizip-ng] Modify the output include path of the header file (#17238)

* [minizip-ng] Modify the output include path of the header file

* Update json file

Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
This commit is contained in:
Cheney Wang 2021-04-13 01:16:41 +08:00 committed by GitHub
parent bc96cd54bf
commit d01ed0ebd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9ef8023..ec1ee55 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -81,7 +81,7 @@ include(FeatureSummary)
set(INSTALL_BIN_DIR ${CMAKE_INSTALL_FULL_BINDIR} CACHE PATH "Installation directory for executables")
set(INSTALL_LIB_DIR ${CMAKE_INSTALL_FULL_LIBDIR} CACHE PATH "Installation directory for libraries")
-set(INSTALL_INC_DIR ${CMAKE_INSTALL_FULL_INCLUDEDIR} CACHE PATH "Installation directory for headers")
+set(INSTALL_INC_DIR ${CMAKE_INSTALL_FULL_INCLUDEDIR}/minizip-ng CACHE PATH "Installation directory for headers")
set(INSTALL_MAN_DIR ${CMAKE_INSTALL_FULL_MANDIR} CACHE PATH "Installation directory for manual pages")
set(STDLIB_DEF)

View File

@ -4,6 +4,7 @@ vcpkg_from_github(
REF 3.0.1
SHA512 98c9bdcea79a88a2dd69cec6c49f8565edf78ab9cddbf0e85e08b049b300b187f176bf57d5a894bf777bec0a097e46ecc05f78dab9cd5726fd473ffd8718dce0
HEAD_REF master
PATCHES Modify-header-file-path.patch
)
vcpkg_cmake_configure(

View File

@ -1,6 +1,7 @@
{
"name": "minizip-ng",
"version": "3.0.1",
"port-version": 1,
"description": "minizip-ng is a zip manipulation library written in C that is supported on Windows, macOS, and Linux.",
"homepage": "https://github.com/zlib-ng/minizip-ng",
"supports": "!uwp",

View File

@ -3946,7 +3946,7 @@
},
"minizip-ng": {
"baseline": "3.0.1",
"port-version": 0
"port-version": 1
},
"mio": {
"baseline": "2019-02-10",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "c3f833fb14771ffd8f32496aa12035c86ab1cb9a",
"version": "3.0.1",
"port-version": 1
},
{
"git-tree": "0512bceae574c70ea907a8ebfc88709dc196164e",
"version": "3.0.1",