|
@@ -40,6 +40,9 @@ endif()
|
|
find_package(Libevent CONFIG)
|
|
find_package(Libevent CONFIG)
|
|
if(Libevent_FOUND)
|
|
if(Libevent_FOUND)
|
|
list(APPEND COMMON_LIBS libevent::core libevent::extra libevent::openssl)
|
|
list(APPEND COMMON_LIBS libevent::core libevent::extra libevent::openssl)
|
|
|
|
+ if(NOT WIN32)
|
|
|
|
+ list(APPEND COMMON_LIBS libevent::pthreads)
|
|
|
|
+ endif()
|
|
else()
|
|
else()
|
|
find_package(Libevent MODULE)
|
|
find_package(Libevent MODULE)
|
|
if(Libevent_FOUND)
|
|
if(Libevent_FOUND)
|