mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 18:39:06 +08:00
faf2d6ffb6
* [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
14 lines
574 B
Diff
14 lines
574 B
Diff
diff --git a/cmake/LibeventConfig.cmake.in b/cmake/LibeventConfig.cmake.in
|
|
index 7b808c3..fbf67be 100644
|
|
--- a/cmake/LibeventConfig.cmake.in
|
|
+++ b/cmake/LibeventConfig.cmake.in
|
|
@@ -58,7 +58,7 @@ endif()
|
|
|
|
# Get the path of the current file.
|
|
get_filename_component(LIBEVENT_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
-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)
|