zeromq / libzmq

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

build: fix mkdtemp check on macOS #4668

Closed fanquake closed 6 months ago

fanquake commented 6 months ago

On macOS, mkdtemp is in unistd.h. Fix the CMake check so that is works. This was discovered when comparing the output of the Autotools an CMake build systems.