This commit is contained in:
Sara Dickinson 2023-06-21 16:34:37 +01:00
parent 0e52e8c87b
commit f80d482511
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ if (PkgLibevent_FOUND)
set(LIBEVENT2_VERSION ${PkgLibevent_VERSION}) set(LIBEVENT2_VERSION ${PkgLibevent_VERSION})
add_library(Libevent2::Libevent_core ALIAS PkgConfig::PkgLibevent) add_library(Libevent2::Libevent_core ALIAS PkgConfig::PkgLibevent)
set(Libevent2_FOUND ON) set(Libevent2_FOUND ON)
message("PkgLibevent_INCLUDE_DIRS : " ${PkgLibevent_INCLUDE_DIRS})
message("Hello world 1: " ${Libevent2_FOUND} " " ${LIBEVENT2_INCLUDE_DIR} " " ${LIBEVENT2_LIBRARIES} " " ${LIBEVENT2_VERSION}) message("Hello world 1: " ${Libevent2_FOUND} " " ${LIBEVENT2_INCLUDE_DIR} " " ${LIBEVENT2_LIBRARIES} " " ${LIBEVENT2_VERSION})
else () else ()
find_path(LIBEVENT2_INCLUDE_DIR event2/event.h find_path(LIBEVENT2_INCLUDE_DIR event2/event.h