Also skip if libzmq-static is defined

This commit is contained in:
Sylvain Corlay 2020-03-05 13:59:45 +01:00
parent 8d731ea900
commit 9cb042e711

View File

@ -6,7 +6,7 @@ include (DetectCPPZMQVersion)
project(cppzmq VERSION ${DETECTED_CPPZMQ_VERSION})
if (NOT TARGET libzmq)
if (NOT TARGET libzmq AND NOT TARGET libzmq-static)
find_package(ZeroMQ QUIET)
# libzmq autotools install: fallback to pkg-config