Commit 0ece425d authored by Doron Somech's avatar Doron Somech

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

Problem: LD search path warnings if using Clang
parents 23e42526 7f0e380c
......@@ -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()
......
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