From c2f9c466867aed30201a7cd61ec95fd7d7a24258 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Wed, 24 Jun 2020 10:17:43 -0400 Subject: [PATCH] zmq requires win xp or higher. --- cmake/win32.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/win32.cmake b/cmake/win32.cmake index b3c49cca4..075eaec14 100644 --- a/cmake/win32.cmake +++ b/cmake/win32.cmake @@ -14,7 +14,8 @@ if(NOT MSVC_VERSION) # to .r[o]data section one after the other! add_compile_options(-fno-ident -Wa,-mbig-obj) link_libraries( -lws2_32 -lshlwapi -ldbghelp -luser32 -liphlpapi -lpsapi -luserenv ) - add_definitions(-DWINVER=0x0500 -D_WIN32_WINNT=0x0500) + # zmq requires windows xp or higher + add_definitions(-DWINVER=0x0501 -D_WIN32_WINNT=0x0501) endif() if(EMBEDDED_CFG)