vcpkg/ports/arb/fix-build-error.patch
NancyLi1013 41d944f701
[getdns/flint/arb] Update to the latest version (#20050)
* [getdns/flint] Update to the latest version

* [getdns/flint] Update to the latest version

* [flint] Add unsupported on uwp

* Update version files

* [flint] Handle dllimport macro in header files

* [arb] Update to 2.21.0

* [arb] Update to 2.2.1 and use upstream CMakeLists.txt

* [arb] App patch

* Update versions/a-/arb.json
2021-11-05 16:09:43 -07:00

15 lines
474 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d6136a8..9e260eb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -76,7 +76,8 @@ set (pthreads_header pthread.h)
set (flint2_header flint/flint.h)
if(MSVC)
- set(DEPS ${DEPS} pthreads)
+ find_package(pthreads REQUIRED)
+ set(PTHREADS_LIBRARIES PThreads4W::PThreads4W)
else()
option(CMAKE_THREAD_PREFER_PTHREAD "Prefer pthreads" yes)
option(THREADS_PREFER_PTHREAD_FLAG "Prefer -pthread flag" yes)