zeromq / cppzmq

Header-only C++ binding for libzmq
http://www.zeromq.org
MIT License
1.95k stars 757 forks source link

How to build cppzmq in an air-gapped environment? #602

Open dekaranger opened 1 year ago

dekaranger commented 1 year ago

Currently, when trying to build cppzmq via cmake. It will try to connect to the internet to clone the "google/gtest" GitHub repo.

Is there a way to configure the build to look at the gtest that is already installed locally or bypass the downloading of gtest?

gummif commented 1 year ago

Yes, disable tests by setting CPPZMQ_BUILD_TESTS to false.