Skip to content

Commit

Permalink
fix PYZMQ_NO_BUNDLE option name
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mgorny committed Jan 13, 2025
1 parent 7ba9349 commit f726cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit f726cc1

Please sign in to comment.