vcpkg/ports/leptonica/Modify-include-dir.patch
Cheney Wang fd8a264bff
[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>
2021-09-16 10:50:15 -07:00

14 lines
511 B
Diff

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")
###############################################################################
#