diff options
| author | wangli28 <47812810+wangli28@users.noreply.github.com> | 2019-06-26 07:11:45 +0800 |
|---|---|---|
| committer | Phil Christensen <philc@microsoft.com> | 2019-06-25 16:11:45 -0700 |
| commit | 7401e2ff644779be3a1d0ec90be90282990e704b (patch) | |
| tree | af4aa7045287a63248a34eb43c5058eb6ad670bd /ports/libevent/fix-file_path.patch | |
| parent | 1ce24dd0db6d9cf6cdb348ff29aa8454b3f1b028 (diff) | |
| download | vcpkg-7401e2ff644779be3a1d0ec90be90282990e704b.tar.gz vcpkg-7401e2ff644779be3a1d0ec90be90282990e704b.zip | |
[libevent] Upgrade to version 2.1.10 (#6969)
Diffstat (limited to 'ports/libevent/fix-file_path.patch')
| -rw-r--r-- | ports/libevent/fix-file_path.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ports/libevent/fix-file_path.patch b/ports/libevent/fix-file_path.patch new file mode 100644 index 000000000..179700b7e --- /dev/null +++ b/ports/libevent/fix-file_path.patch @@ -0,0 +1,26 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 6e91c08..44b6e18 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1430,7 +1430,7 @@ configure_file(${PROJECT_SOURCE_DIR}/cmake/LibeventConfigBuildTree.cmake.in + # Calculate the relative directory from the Cmake dir. + file(RELATIVE_PATH + REL_INCLUDE_DIR +- "${EVENT_INSTALL_CMAKE_DIR}" ++ "${CURRENT_PACKAGES_DIR}/${EVENT_INSTALL_CMAKE_DIR}" + "${CMAKE_INSTALL_PREFIX}/include") + + # Note the LIBEVENT_CMAKE_DIR is defined in LibeventConfig.cmake.in, +diff --git a/cmake/AddEventLibrary.cmake b/cmake/AddEventLibrary.cmake +index 9de4484..411ca9d 100644 +--- a/cmake/AddEventLibrary.cmake ++++ b/cmake/AddEventLibrary.cmake +@@ -113,7 +113,7 @@ macro(add_event_library LIB_NAME) + EXPORT LibeventTargets + LIBRARY DESTINATION "lib" COMPONENT lib + ARCHIVE DESTINATION "lib" COMPONENT lib +- RUNTIME DESTINATION "lib" COMPONENT lib ++ RUNTIME DESTINATION "bin" COMPONENT bin + PUBLIC_HEADER DESTINATION "include/event2" + COMPONENT dev + ) |
