mirror of https://github.com/eclipse/paho.mqtt.c
Fix Crosscompilation for Windows on Linux #1432
Co-authored-by: Ernst Blecha <ernst.blecha@primetals.com>
This commit is contained in:
parent
d157c6a212
commit
68c7c80992
|
|
@ -57,9 +57,9 @@ endif()
|
|||
|
||||
if(WIN32)
|
||||
if(PAHO_WITH_LIBRESSL)
|
||||
set(LIBS_SYSTEM ws2_32 crypt32 RpcRT4 bcrypt)
|
||||
set(LIBS_SYSTEM ws2_32 crypt32 rpcrt4 bcrypt)
|
||||
else()
|
||||
set(LIBS_SYSTEM ws2_32 crypt32 RpcRT4)
|
||||
set(LIBS_SYSTEM ws2_32 crypt32 rpcrt4)
|
||||
endif()
|
||||
elseif(UNIX)
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
|
|
|
|||
Loading…
Reference in New Issue