diff options
Diffstat (limited to 'contrib/cmake/FindEVENT.cmake')
-rw-r--r-- | contrib/cmake/FindEVENT.cmake | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/cmake/FindEVENT.cmake b/contrib/cmake/FindEVENT.cmake index ef6089b..7904b6a 100644 --- a/contrib/cmake/FindEVENT.cmake +++ b/contrib/cmake/FindEVENT.cmake @@ -36,6 +36,19 @@ if (NOT WIN32) HINTS $ENV{EVENT_SRC}/.libs/ ) list (APPEND EVENT_LIBRARY ${EVENT_LIBRARY_THREADS}) + + FIND_LIBRARY(EVENT_LIBRARY_EXTRA + NAMES event_extra + HINTS $ENV{EVENT_SRC}/.libs/ + ) + list (APPEND EVENT_LIBRARY ${EVENT_LIBRARY_EXTRA}) + + FIND_LIBRARY(EVENT_LIBRARY_CORE + NAMES event_core + HINTS $ENV{EVENT_SRC}/.libs/ + ) + list (APPEND EVENT_LIBRARY ${EVENT_LIBRARY_CORE}) + endif() INCLUDE(FindPackageHandleStandardArgs) |