FindLibevent now displays all deps
@@ -20,7 +20,6 @@ endif()
include (FindPackageHandleStandardArgs)
-find_package_handle_standard_args (LIBEVENT DEFAULT_MSG LIBEVENT_LIBRARY LIBEVENT_INCLUDE_DIR)
set (LIBEVENT_INCLUDE_DIRS ${LIBEVENT_INCLUDE_DIR})
set (LIBEVENT_LIBRARIES
@@ -31,4 +30,5 @@ set (LIBEVENT_LIBRARIES
${LIBEVENT_THREAD}
${LIBEVENT_EXTRA})
+ find_package_handle_standard_args (LIBEVENT DEFAULT_MSG LIBEVENT_LIBRARIES LIBEVENT_INCLUDE_DIR)
mark_as_advanced(LIBEVENT_INCLUDE_DIRS LIBEVENT_LIBRARIES)
