vcpkg/ports/mosquitto/fix-dependence-pthreads.patch
JackBoosY fd2330af7a [pthreads]Modify library name "pthreadsVC2" to correct name "pthreadVC2" (#5532)
* [Pthreads]Modify library name "pthreadsVC2" to correct name "pthreadVC2".

* [pthreads]update Version

* [flint]fix dependence port pthreads library name to "pthreadVC2".

* [usbmuxd]fix dependence port pthreads library name to "pthreadVC2".

* [mosquitto]fix dependence port pthreads library name to "pthreadVC2".
2019-03-05 10:51:50 -08:00

14 lines
519 B
Diff

diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index 6355eaa..490df32 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -6,7 +6,7 @@ option(WITH_THREADING "Include client library threading support?" ON)
if (${WITH_THREADING} STREQUAL ON)
add_definitions("-DWITH_THREADING")
if (WIN32)
- find_library(PTHREAD_LIBRARIES NAMES pthreadsVC2)
+ find_library(PTHREAD_LIBRARIES NAMES pthreadVC2)
find_path(PTHREAD_INCLUDE_DIR pthread.h)
else (WIN32)
find_library(LIBPTHREAD pthread)