mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-23 14:57:59 +08:00
fd2330af7a
* [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".
14 lines
519 B
Diff
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)
|