mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 11:53:03 +08:00
[libevent] Fix include headers fails on x64-windows, using CMAKE (#9292)
* [libevent] Fix include headers fails on x64-windows, using CMAKE * [libevent] Fix conflicting file portfile.cmake * [libevent] Update the CONTROL version Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
This commit is contained in:
parent
f8165f7270
commit
a00a345507
@ -1,5 +1,5 @@
|
||||
Source: libevent
|
||||
Version: 2.1.11-2
|
||||
Version: 2.1.11-3
|
||||
Build-Depends: openssl
|
||||
Homepage: https://github.com/libevent/libevent
|
||||
Description: An event notification library
|
||||
|
13
ports/libevent/fix-LibeventConfig_cmake_in_path.patch
Normal file
13
ports/libevent/fix-LibeventConfig_cmake_in_path.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/cmake/LibeventConfig.cmake.in b/cmake/LibeventConfig.cmake.in
|
||||
index 5422336..d436100 100644
|
||||
--- a/cmake/LibeventConfig.cmake.in
|
||||
+++ b/cmake/LibeventConfig.cmake.in
|
||||
@@ -8,7 +8,7 @@
|
||||
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)
|
@ -8,6 +8,7 @@ vcpkg_from_github(
|
||||
PATCHES
|
||||
fix-file_path.patch
|
||||
fix-crt_linkage.patch
|
||||
fix-LibeventConfig_cmake_in_path.patch
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
|
Loading…
Reference in New Issue
Block a user