mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 15:26:04 +00:00
Merge pull request #1906 from hitstergtd/hitstergtd-cmake-tests-os-fix
Problem: Linker search path warnings on OS X
This commit is contained in:
commit
317499edae
@ -131,7 +131,10 @@ foreach(test ${tests})
|
||||
# it will only link correctly for DEBUG builds in Windows (I don't know how to specify the target and target library in CMake)
|
||||
SET_TARGET_PROPERTIES( ${test} PROPERTIES LINK_FLAGS "/LIBPATH:../bin/Win32/Debug/v120/dynamic" )
|
||||
else()
|
||||
link_directories(${test} PRIVATE "${CMAKE_SOURCE_DIR}/../lib")
|
||||
# per-test directories not generated on OS X / Darwin
|
||||
if (NOT APPLE)
|
||||
link_directories(${test} PRIVATE "${CMAKE_SOURCE_DIR}/../lib")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(RT_LIBRARY)
|
||||
|
Loading…
x
Reference in New Issue
Block a user