aboutsummaryrefslogtreecommitdiff
path: root/ports/fizz/fix-build_error.patch
diff options
context:
space:
mode:
authorwangli28 <47812810+wangli28@users.noreply.github.com>2019-06-26 07:11:45 +0800
committerPhil Christensen <philc@microsoft.com>2019-06-25 16:11:45 -0700
commit7401e2ff644779be3a1d0ec90be90282990e704b (patch)
treeaf4aa7045287a63248a34eb43c5058eb6ad670bd /ports/fizz/fix-build_error.patch
parent1ce24dd0db6d9cf6cdb348ff29aa8454b3f1b028 (diff)
downloadvcpkg-7401e2ff644779be3a1d0ec90be90282990e704b.tar.gz
vcpkg-7401e2ff644779be3a1d0ec90be90282990e704b.zip
[libevent] Upgrade to version 2.1.10 (#6969)
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()