Skip to content

Commit

Permalink
build: fix libevent-cmake on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
liudongmiao committed Mar 25, 2024
1 parent 38707ef commit 26cd30e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ if (HAVE_SSL_CTX_SET_KEYLOG_CALLBACK)
endif()
unset(CMAKE_REQUIRED_LIBRARIES)

find_package(LIBEVENT 2.1.1 QUIET COMPONENTS core extra openssl)
if (LIBEVENT_FOUND)
find_package(Libevent 2.1.1 COMPONENTS core extra openssl)
if (Libevent_FOUND)
set(EVENT_CORE libevent::core)
set(EVENT_EXTRA libevent::extra)
set(EVENT_OPENSSL libevent::openssl)
Expand Down

0 comments on commit 26cd30e

Please sign in to comment.