Merge pull request #4505 from barracuda156/darwin

tests: use NOT APPLE instead of NOT MATCHES Clang
This commit is contained in:
Luca Boccassi 2023-02-01 00:30:26 +00:00 committed by GitHub
commit 333c88e9ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,16 @@
# Permission to Relicense under MPLv2 or any other OSI approved license chosen by the current ZeroMQ BDFL
This is a statement by Sergey Fedorov
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 "barracuda156",
with commit author "Sergey Fedorov <vital.had@gmail.com>"
or commit author "barracuda156", are copyright of Sergey Fedorov.
This document hereby grants the libzmq project team to relicense libzmq,
including all past, present and future contributions of the author listed above.
Sergey Fedorov (barracuda156)
Done in Taipei on the 2023/02/01

View File

@ -277,7 +277,7 @@ foreach(test ${tests})
endif()
else()
# per-test directories not generated on OS X / Darwin
if(NOT ${CMAKE_CXX_COMPILER_ID} MATCHES "Clang.*")
if(NOT APPLE)
link_directories(${test} PRIVATE "${ZeroMQ_SOURCE_DIR}/../lib")
endif()
endif()