vcpkg/ports/clamav/build.patch
Jonas Zaddach 7adc87efe1
[clamav] Add new port (#14658)
* Added ClamAV port

* Patch ClamAV's cmake files instead of doing things in portfile

* Fix whitespace

* Strip down package to really only build libclamav

* Fix static build

* Fix build on Linux

* Remove libcurl linkage

* fix copy-paste mistake

* Disable static build

* update version record

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2021-03-29 10:14:39 -07:00

27 lines
769 B
Diff

diff --git a/cmake/FindCURSES.cmake b/cmake/FindCURSES.cmake
index a0755c697..f60735a91 100644
--- a/cmake/FindCURSES.cmake
+++ b/cmake/FindCURSES.cmake
@@ -107,7 +107,7 @@ else()
set(CURSES_INCLUDE "<curses.h>")
find_library(CURSES_LIBRARY
- NAMES curses
+ NAMES curses pdcurses
PATHS ${PC_PDCurses_LIBRARY_DIRS}
)
diff --git a/cmake/FindPthreadW32.cmake b/cmake/FindPthreadW32.cmake
index 4fded1eb7..0d44af310 100644
--- a/cmake/FindPthreadW32.cmake
+++ b/cmake/FindPthreadW32.cmake
@@ -54,7 +54,7 @@ find_path(PThreadW32_INCLUDE_DIR
PATH_SUFFIXES pthreadw32
)
find_library(PThreadW32_LIBRARY
- NAMES pthreadVC2
+ NAMES pthreadVC2 pthreadVC3
PATHS ${PC_PThreadW32_LIBRARY_DIRS}
)