From f726cc128c8a41dfe755bad6f26915447d475f98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 13 Jan 2025 15:11:57 +0100 Subject: [PATCH] fix PYZMQ_NO_BUNDLE option name Fix the CMake `option()` name from `PYZMQ_LIBZMQ_NO_BUNDLE` to `PYZMQ_NO_BUNDLE`. The latter is actually used below as the environment variable and as the actual condition, as well as in the documentation. Given that there are projects already using it, just fix the name passed to `option()` to match. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bc02c21b8..75573c979 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,7 @@ option(ZMQ_DRAFT_API "whether to build the libzmq draft API" OFF) option(PYZMQ_LIBZMQ_RPATH "Add $ZMQ_PREFIX/lib to $RPATH (true by default). Set to false if libzmq will be bundled or relocated and RPATH is handled separately" ON) # anything new should start with PYZMQ_ -option(PYZMQ_LIBZMQ_NO_BUNDLE "Prohibit building bundled libzmq. Useful for repackaging, to allow default search for libzmq and requiring it to succeed." OFF) +option(PYZMQ_NO_BUNDLE "Prohibit building bundled libzmq. Useful for repackaging, to allow default search for libzmq and requiring it to succeed." OFF) set(PYZMQ_LIBZMQ_VERSION "4.3.5" CACHE STRING "libzmq version when bundling") set(PYZMQ_LIBSODIUM_VERSION "1.0.20" CACHE STRING "libsodium version when bundling") set(PYZMQ_LIBZMQ_URL "" CACHE STRING "full URL to download bundled libzmq")