Merge pull request #145 from qsodev/fixcmakewarning

added QUIET to avoid false cmake warning (missing ZeroMQ)
This commit is contained in:
Luca Boccassi 2017-08-17 20:20:37 +01:00 committed by GitHub
commit 156cf8fa73
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.0.0)
project(cppzmq)
find_package(ZeroMQ)
find_package(ZeroMQ QUIET)
# libzmq autotools install: fallback to pkg-config
if(NOT ZeroMQ_FOUND)

View File

@ -17,7 +17,7 @@
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
find_package(ZeroMQ)
find_package(ZeroMQ QUIET)
# libzmq autotools install: fallback to pkg-config
if(NOT ZeroMQ_FOUND)