From 4ad7a811f0269aa241ddd4b9f8addbce6914cf26 Mon Sep 17 00:00:00 2001 From: Martl Date: Thu, 17 Aug 2017 21:15:23 +0200 Subject: [PATCH] added QUIET to avoid false cmake warning (missing ZeroMQ) --- CMakeLists.txt | 2 +- cppzmqConfig.cmake.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 44c0835..d6dae4e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/cppzmqConfig.cmake.in b/cppzmqConfig.cmake.in index 6fe6f5f..0b012fd 100644 --- a/cppzmqConfig.cmake.in +++ b/cppzmqConfig.cmake.in @@ -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)