From 1163989216a8114b8644526febb0d7207996e677 Mon Sep 17 00:00:00 2001 From: Min RK Date: Wed, 21 Feb 2024 15:44:00 +0100 Subject: [PATCH] build bundled libzmq on windows with API_POLLER=select one reported crash in ZMQ_POLL_BASED_ON_POLL --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ed661f4f2..6c8c01b0f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -273,6 +273,9 @@ if (ZMQ_PREFIX STREQUAL "bundled") set(BUILD_TESTS OFF) set(BUILD_SHARED OFF) set(BUILD_STATIC ON) + if(MSVC) + set(API_POLLER "select") + endif() FetchContent_Declare(bundled_libzmq URL ${PYZMQ_LIBZMQ_URL}