aboutsummaryrefslogtreecommitdiff
path: root/ports/fizz/fix-build_error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/fizz/fix-build_error.patch')
-rw-r--r--ports/fizz/fix-build_error.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/fizz/fix-build_error.patch b/ports/fizz/fix-build_error.patch
new file mode 100644
index 000000000..e85f16c6e
--- /dev/null
+++ b/ports/fizz/fix-build_error.patch
@@ -0,0 +1,13 @@
+diff --git a/fizz/CMakeLists.txt b/fizz/CMakeLists.txt
+index 7f8769a..debac4e 100644
+--- a/fizz/CMakeLists.txt
++++ b/fizz/CMakeLists.txt
+@@ -81,7 +81,7 @@ if(TARGET event)
+ message(STATUS "Found libevent from package config")
+ list(APPEND FIZZ_SHINY_DEPENDENCIES event)
+ else()
+- find_package(Libevent MODULE REQUIRED)
++ find_package(Libevent CONFIG REQUIRED)
+ list(APPEND FIZZ_LINK_LIBRARIES ${LIBEVENT_LIB})
+ list(APPEND FIZZ_INCLUDE_DIRECTORIES ${LIBEVENT_INCLUDE_DIR})
+ endif()