mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-10-21 01:26:17 +02:00
Nothing in aare links libzmq at the moment, yet every configure fetched it (a 25 MB clone) and ran its feature checks, which took 8 of the 10 s a fresh configure needed. Gate the FetchContent/find_package block behind AARE_ZMQ (default OFF) and expose the library as aare::zmq, so re-enabling it later is -DAARE_ZMQ=ON plus one target_link_libraries line. The patch and the AARE_FETCH_ZMQ / AARE_SYSTEM_LIBRARIES handling stay as they were. A fresh configure without it takes about 3 s.