Unverified Commit b17e854f authored by Luca Boccassi's avatar Luca Boccassi Committed by GitHub

Merge pull request #3546 from skicc/patch-1

CMake: don't try to link with librt on MinGW
parents 9534bbfc 0503abb3
......@@ -362,9 +362,11 @@ else()
check_cxx_symbol_exists(LOCAL_PEERCRED sys/socket.h ZMQ_HAVE_LOCAL_PEERCRED)
endif()
find_library(RT_LIBRARY rt)
if(RT_LIBRARY)
set(pkg_config_libs_private "${pkg_config_libs_private} -lrt")
if(NOT MINGW)
find_library(RT_LIBRARY rt)
if(RT_LIBRARY)
set(pkg_config_libs_private "${pkg_config_libs_private} -lrt")
endif()
endif()
find_package(Threads)
......
# Permission to Relicense under MPLv2 or any other OSI approved license chosen by the current ZeroMQ BDFL
This is a statement by skicc
that grants permission to relicense its copyrights in the libzmq C++
library (ZeroMQ) under the Mozilla Public License v2 (MPLv2) or any other
Open Source Initiative approved license chosen by the current ZeroMQ
BDFL (Benevolent Dictator for Life).
A portion of the commits made by the Github handle "skicc", with
commit author "skicc <skicc@fastmail.com>", are copyright of skicc.
This document hereby grants the libzmq project team to relicense libzmq,
including all past, present and future contributions of the author listed above.
skicc
2019/06/15
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment