aboutsummaryrefslogtreecommitdiff
path: root/ports/leptonica/Modify-include-dir.patch
diff options
context:
space:
mode:
authorCheney Wang <38240633+Cheney-W@users.noreply.github.com>2021-09-16 10:50:15 -0700
committerGitHub <noreply@github.com>2021-09-16 10:50:15 -0700
commitfd8a264bff42617c9782362e138a97837cfec4ce (patch)
treea4e236bba84b50ef4b41ebd5da45c3a5abee4997 /ports/leptonica/Modify-include-dir.patch
parent660295dc22867e6db7e3497f584ce63754707382 (diff)
downloadvcpkg-fd8a264bff42617c9782362e138a97837cfec4ce.tar.gz
vcpkg-fd8a264bff42617c9782362e138a97837cfec4ce.zip
[amqpcpp/leptonica/glibmm] Update to latest version (#20069)
* [amqpcpp/leptonica/glibmm] Update to latest version * Modify the include dir path * Modify version schemes Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
Diffstat (limited to 'ports/leptonica/Modify-include-dir.patch')
-rw-r--r--ports/leptonica/Modify-include-dir.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/leptonica/Modify-include-dir.patch b/ports/leptonica/Modify-include-dir.patch
new file mode 100644
index 000000000..59486c6e2
--- /dev/null
+++ b/ports/leptonica/Modify-include-dir.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5aed94f..9bfcff9 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -212,7 +212,7 @@ include(Configure)
+
+ configure_file(${AUTOCONFIG_SRC} ${AUTOCONFIG} @ONLY)
+
+-set(INCLUDE_DIR "${CMAKE_INSTALL_PREFIX}/include" "${CMAKE_INSTALL_PREFIX}/include/leptonica")
++set(INCLUDE_DIR "\${CMAKE_CURRENT_LIST_DIR}/../../include" "\${CMAKE_CURRENT_LIST_DIR}/../../include/leptonica")
+
+ ###############################################################################
+ #