--- a/minimal-examples/http-server/minimal-http-server-eventlib-foreign/CMakeLists.txt	2021-08-28 09:39:20.000000000 +0300
+++ b/minimal-examples/http-server/minimal-http-server-eventlib-foreign/CMakeLists.txt	2022-01-03 20:43:32.528922985 +0300
@@ -33,7 +33,7 @@
 endif()
 if (LWS_WITH_LIBEVENT)
 	find_path(LIBEVENT_INCLUDE_DIRS NAMES event2/event.h)
-	find_library(LIBEVENT_LIBRARIES NAMES event)
+	find_library(LIBEVENT_LIBRARIES NAMES event_core)
 	message("libevent include dir: ${LIBEVENT_INCLUDE_DIRS}")
 	message("libevent libraries: ${LIBEVENT_LIBRARIES}")
 	include_directories("${LIBEVENT_INCLUDE_DIRS}")