zeromq / czmq

High-level C binding for ØMQ
czmq.zeromq.org
Mozilla Public License 2.0
1.16k stars 523 forks source link

[CMake] Check if libzmq is already found #2228

Closed NouberNou closed 1 year ago

NouberNou commented 1 year ago

This allows a CMake project that includes libzmq and czmq as source to define how to find libzmq if the find_package module is inadequate.

These inadequacies arise due to situations where find_package is not optimal, such as a source/git submodule distribution of all dependencies rather than system installs of dependencies (which can become unwieldy in CI/CD).

NouberNou commented 1 year ago

See zproject PR here for long-term patch: https://github.com/zeromq/zproject/pull/1298