0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 07:31:03 +08:00

Merge pull request #1914 from hitstergtd/clang-testfiles-fix

Problem: LD search path warnings if using Clang
This commit is contained in:
Doron Somech 2016-04-22 15:37:48 +03:00
commit 0ece425dca

View File

@ -137,7 +137,7 @@ foreach(test ${tests})
SET_TARGET_PROPERTIES( ${test} PROPERTIES LINK_FLAGS "/LIBPATH:../bin/Win32/Debug/v120/dynamic" )
else()
# per-test directories not generated on OS X / Darwin
if (NOT APPLE)
if (NOT ${CMAKE_CXX_COMPILER_ID} MATCHES "Clang.*")
link_directories(${test} PRIVATE "${CMAKE_SOURCE_DIR}/../lib")
endif()
endif()