Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add the Storage::read_async and Storage::write_async methods
[simgrid.git] / tools / cmake / Modules / FindLibevent.cmake
1 find_path(LIBEVENT_INCLUDE_DIR event2/event.h)
2 find_library(LIBEVENT_LIBRARY NAMES event)
3 find_library(LIBEVENT_THREADS_LIBRARY NAMES event_pthreads)
4 set(LIBEVENT_LIBRARIES "${LIBEVENT_LIBRARY}")
5
6 include(FindPackageHandleStandardArgs)
7 find_package_handle_standard_args(
8     Libevent
9     DEFAULT_MSG
10     LIBEVENT_LIBRARIES
11     LIBEVENT_INCLUDE_DIR)
12 mark_as_advanced(LIBEVENT_INCLUDE_DIR LIBEVENT_LIBRARIES)