From 635f093744673ea20f7e38e67d68918ea2f6341e Mon Sep 17 00:00:00 2001 From: Simon Giesecke Date: Tue, 23 Apr 2019 08:41:06 -0400 Subject: [PATCH] Problem: redundant output in CMakeLists.txt Solution: remove redundant debug output --- CMakeLists.txt | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d2af332..2fd5d053 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -350,11 +350,8 @@ if(CMAKE_SYSTEM_NAME STREQUAL "WindowsStore" AND CMAKE_SYSTEM_VERSION STREQUAL " endif() if(NOT MSVC) check_include_files(ifaddrs.h ZMQ_HAVE_IFADDRS) - message("ZMQ_HAVE_IFADDRS: ${ZMQ_HAVE_IFADDRS}") check_include_files(sys/uio.h ZMQ_HAVE_UIO) - message("ZMQ_HAVE_UIO: ${ZMQ_HAVE_UIO}") check_include_files(sys/eventfd.h ZMQ_HAVE_EVENTFD) - message("ZMQ_HAVE_EVENTFD: ${ZMQ_HAVE_EVENTFD}") if(ZMQ_HAVE_EVENTFD AND NOT CMAKE_CROSSCOMPILING) zmq_check_efd_cloexec() endif() @@ -376,9 +373,7 @@ if(ZMQ_HAVE_WINDOWS) check_library_exists(ws2 fopen "" HAVE_WS2) else() check_cxx_symbol_exists(SO_PEERCRED sys/socket.h ZMQ_HAVE_SO_PEERCRED) - message("ZMQ_HAVE_SO_PEERCRED: ${ZMQ_HAVE_SO_PEERCRED}") check_cxx_symbol_exists(LOCAL_PEERCRED sys/socket.h ZMQ_HAVE_LOCAL_PEERCRED) - message("ZMQ_HAVE_LOCAL_PEERCRED: ${ZMQ_HAVE_LOCAL_PEERCRED}") endif() find_library(RT_LIBRARY rt) @@ -406,33 +401,26 @@ if(NOT MSVC) set(CMAKE_REQUIRED_LIBRARIES rt) check_function_exists(clock_gettime HAVE_CLOCK_GETTIME) set(CMAKE_REQUIRED_LIBRARIES) - message("HAVE_CLOCK_GETTIME: ${HAVE_CLOCK_GETTIME}") set(CMAKE_REQUIRED_INCLUDES unistd.h) check_function_exists(fork HAVE_FORK) set(CMAKE_REQUIRED_INCLUDES) - message("HAVE_FORK: ${HAVE_FORK}") set(CMAKE_REQUIRED_INCLUDES sys/time.h) check_function_exists(gethrtime HAVE_GETHRTIME) set(CMAKE_REQUIRED_INCLUDES) - message("HAVE_GETHRTIME: ${HAVE_GETHRTIME}") set(CMAKE_REQUIRED_INCLUDES stdlib.h) check_function_exists(mkdtemp HAVE_MKDTEMP) set(CMAKE_REQUIRED_INCLUDES) - message("HAVE_MKDTEMP: ${HAVE_MKDTEMP}") set(CMAKE_REQUIRED_INCLUDES sys/socket.h) check_function_exists(accept4 HAVE_ACCEPT4) set(CMAKE_REQUIRED_INCLUDES) - message("HAVE_ACCEPT4: ${HAVE_ACCEPT4}") set(CMAKE_REQUIRED_INCLUDES string.h) check_function_exists(strnlen HAVE_STRNLEN) set(CMAKE_REQUIRED_INCLUDES) - message("HAVE_STRNLEN: ${HAVE_STRNLEN}") - endif() add_definitions(-D_REENTRANT -D_THREAD_SAFE) @@ -542,7 +530,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "SunOS" OR CMAKE_SYSTEM_NAME MATCHES "NetBSD" OR CM } \ " HAVE_ATOMIC_H) - message("HAVE_ATOMIC_H: ${HAVE_ATOMIC_H}") + if(NOT HAVE_ATOMIC_H) set(ZMQ_FORCE_MUTEXES 1) endif()