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}