zeromq / libzmq

ZeroMQ core engine in C++, implements ZMTP/3.1
https://www.zeromq.org
Mozilla Public License 2.0
9.53k stars 2.34k forks source link

build (cmake): `ZMQ_BUILD_FRAMEWORK` causes configure errors #4703

Open fanquake opened 3 weeks ago

fanquake commented 3 weeks ago

Issue description

Passing -DZMQ_BUILD_FRAMEWORK=ON to Cmake causes errors.

Environment

Minimal test code / Steps to reproduce the issue

  1. cmake -B build -DZMQ_BUILD_FRAMEWORK=ON

What's the actual result?

CMake Error at CMakeLists.txt:1294 (add_custom_command):
  No TARGET 'libzmq' has been created in this directory.
....
-- Configuring incomplete, errors occurred!

What's the expected result?

No errors.