aboutsummaryrefslogtreecommitdiff
path: root/ports/libevent/fix-LibeventConfig_cmake_in_path.patch
diff options
context:
space:
mode:
authorDailyShana <8469304+DailyShana@users.noreply.github.com>2020-08-01 02:21:44 +0800
committerGitHub <noreply@github.com>2020-07-31 11:21:44 -0700
commitfaf2d6ffb67fcf273cd0716598c6bfafb8a99d62 (patch)
tree1e038a3f85f31ea596a10b44e3c60a721f9dbed6 /ports/libevent/fix-LibeventConfig_cmake_in_path.patch
parent0a8857d2609d402b1854a2cc44614ccfa0ee841c (diff)
downloadvcpkg-faf2d6ffb67fcf273cd0716598c6bfafb8a99d62.tar.gz
vcpkg-faf2d6ffb67fcf273cd0716598c6bfafb8a99d62.zip
[libevent] update to 2.1.12 (#12277)
* [libevent] update to 2.1.12 * fix path in LibeventConfig.cmake.in * configure crt runtime * patch target file * try to fix evpp build on unix * try to fix evpp build on unix * try to fix evpp build on unix * try to fix evpp build on unix * fix file patching * code review * fix fizz:x64-windows build
Diffstat (limited to 'ports/libevent/fix-LibeventConfig_cmake_in_path.patch')
-rw-r--r--ports/libevent/fix-LibeventConfig_cmake_in_path.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/ports/libevent/fix-LibeventConfig_cmake_in_path.patch b/ports/libevent/fix-LibeventConfig_cmake_in_path.patch
index b444ae3e7..9566f152c 100644
--- a/ports/libevent/fix-LibeventConfig_cmake_in_path.patch
+++ b/ports/libevent/fix-LibeventConfig_cmake_in_path.patch
@@ -1,13 +1,13 @@
diff --git a/cmake/LibeventConfig.cmake.in b/cmake/LibeventConfig.cmake.in
-index 5422336..d436100 100644
+index 7b808c3..fbf67be 100644
--- a/cmake/LibeventConfig.cmake.in
+++ b/cmake/LibeventConfig.cmake.in
-@@ -8,7 +8,7 @@
+@@ -58,7 +58,7 @@ endif()
+
+ # Get the path of the current file.
get_filename_component(LIBEVENT_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
-
- # Set the include directories.
--set(LIBEVENT_INCLUDE_DIRS "@EVENT_INSTALL_INCLUDE_DIR@")
-+set(LIBEVENT_INCLUDE_DIRS "${LIBEVENT_CMAKE_DIR}/../../include")
-
- # Include the project Targets file, this contains definitions for IMPORTED targets.
- include(${LIBEVENT_CMAKE_DIR}/LibeventTargets.cmake)
+-get_filename_component(_INSTALL_PREFIX "${LIBEVENT_CMAKE_DIR}/../../.." ABSOLUTE)
++get_filename_component(_INSTALL_PREFIX "${LIBEVENT_CMAKE_DIR}/../.." ABSOLUTE)
+
+ macro(message_if_needed _flag _msg)
+ if (NOT ${CMAKE_FIND_PACKAGE_NAME}_FIND_QUIETLY)