tests: use NOT APPLE instead of NOT MATCHES Clang

This commit is contained in:
Sergey Fedorov 2023-02-01 05:37:59 +08:00
parent ce6d48c578
commit 74af53fdfa

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()