diff options
| author | Alvin <52727318+AlvinZhangH@users.noreply.github.com> | 2020-01-07 04:38:35 +0800 |
|---|---|---|
| committer | dan-shaw <51385773+dan-shaw@users.noreply.github.com> | 2020-01-06 12:38:35 -0800 |
| commit | a00a345507dec819664aecf8891aa2653978f483 (patch) | |
| tree | 1ead9d806a07300c36a6db64e9f608f70bd179ad /ports/libevent/fix-LibeventConfig_cmake_in_path.patch | |
| parent | f8165f72709cce797058164b389a105ca4c412a9 (diff) | |
| download | vcpkg-a00a345507dec819664aecf8891aa2653978f483.tar.gz vcpkg-a00a345507dec819664aecf8891aa2653978f483.zip | |
[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>
Diffstat (limited to 'ports/libevent/fix-LibeventConfig_cmake_in_path.patch')
| -rw-r--r-- | ports/libevent/fix-LibeventConfig_cmake_in_path.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/libevent/fix-LibeventConfig_cmake_in_path.patch b/ports/libevent/fix-LibeventConfig_cmake_in_path.patch new file mode 100644 index 000000000..b444ae3e7 --- /dev/null +++ b/ports/libevent/fix-LibeventConfig_cmake_in_path.patch @@ -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) |
