aboutsummaryrefslogtreecommitdiff
path: root/ports/minizip-ng/Modify-header-file-path.patch
diff options
context:
space:
mode:
authorCheney Wang <38240633+Cheney-W@users.noreply.github.com>2021-04-13 01:16:41 +0800
committerGitHub <noreply@github.com>2021-04-12 10:16:41 -0700
commitd01ed0ebd93b0b2036557c673c4fdeb35f98001c (patch)
treee1d12a1b140ba1046c44763fb48636ff21528b90 /ports/minizip-ng/Modify-header-file-path.patch
parentbc96cd54bf3afe85e4c1f201d6475f5ce0a4763c (diff)
downloadvcpkg-d01ed0ebd93b0b2036557c673c4fdeb35f98001c.tar.gz
vcpkg-d01ed0ebd93b0b2036557c673c4fdeb35f98001c.zip
[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>
Diffstat (limited to 'ports/minizip-ng/Modify-header-file-path.patch')
-rw-r--r--ports/minizip-ng/Modify-header-file-path.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/minizip-ng/Modify-header-file-path.patch b/ports/minizip-ng/Modify-header-file-path.patch
new file mode 100644
index 000000000..54299bac0
--- /dev/null
+++ b/ports/minizip-ng/Modify-header-file-path.patch
@@ -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)