early-access version 2853
This commit is contained in:
18
externals/vcpkg/ports/mosquitto/0002-win64-support.patch
vendored
Executable file
18
externals/vcpkg/ports/mosquitto/0002-win64-support.patch
vendored
Executable file
@@ -0,0 +1,18 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 2775a3da..ddd81b04 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -67,12 +67,7 @@ option(WITH_THREADING "Include client library threading support?" ON)
|
||||
if (WITH_THREADING)
|
||||
add_definitions("-DWITH_THREADING")
|
||||
if (WIN32)
|
||||
- if (CMAKE_CL_64)
|
||||
- set (PTHREAD_LIBRARIES C:\\pthreads\\Pre-built.2\\lib\\x64\\pthreadVC2.lib)
|
||||
- else (CMAKE_CL_64)
|
||||
- set (PTHREAD_LIBRARIES C:\\pthreads\\Pre-built.2\\lib\\x86\\pthreadVC2.lib)
|
||||
- endif (CMAKE_CL_64)
|
||||
- set (PTHREAD_INCLUDE_DIR C:\\pthreads\\Pre-built.2\\include)
|
||||
+ find_package(pthread REQUIRED)
|
||||
elseif (ANDROID)
|
||||
set (PTHREAD_LIBRARIES "")
|
||||
set (PTHREAD_INCLUDE_DIR "")
|
||||
Reference in New Issue
Block a user