From 74af53fdfaed825826ed4b2c97f642c0b5790839 Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Wed, 1 Feb 2023 05:37:59 +0800 Subject: [PATCH] tests: use NOT APPLE instead of NOT MATCHES Clang --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 469e60d4..54cdf24a 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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()