aboutsummaryrefslogtreecommitdiff
path: root/ports/mosquitto/fix-dependence-pthreads.patch
blob: d21786646f68b440ad554b8d952661cb9deb247e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)