From 68c7c80992dea5489af2cdc440b2cb5c5c8b279c Mon Sep 17 00:00:00 2001 From: Ian Craggs Date: Fri, 27 Dec 2024 17:59:44 +0000 Subject: [PATCH] Fix Crosscompilation for Windows on Linux #1432 Co-authored-by: Ernst Blecha --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fef25e3b..220d8809 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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")