mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-23 20:07:49 +08:00
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)
|