2020-01-07 04:38:35 +08:00
|
|
|
diff --git a/cmake/LibeventConfig.cmake.in b/cmake/LibeventConfig.cmake.in
|
2020-08-01 02:21:44 +08:00
|
|
|
index 7b808c3..fbf67be 100644
|
2020-01-07 04:38:35 +08:00
|
|
|
--- a/cmake/LibeventConfig.cmake.in
|
|
|
|
+++ b/cmake/LibeventConfig.cmake.in
|
2020-08-01 02:21:44 +08:00
|
|
|
@@ -58,7 +58,7 @@ endif()
|
|
|
|
|
|
|
|
# Get the path of the current file.
|
2020-01-07 04:38:35 +08:00
|
|
|
get_filename_component(LIBEVENT_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
2020-08-01 02:21:44 +08:00
|
|
|
-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)
|