Unverified Commit 21927a74 authored by Luca Boccassi's avatar Luca Boccassi Committed by GitHub

Merge pull request #2885 from JohanMabille/librt_fix

removing hard-coded path of librt
parents 020b0bed b2a8bbd8
......@@ -870,7 +870,7 @@ if (BUILD_SHARED)
endif ()
if (RT_LIBRARY)
target_link_libraries (libzmq ${RT_LIBRARY})
target_link_libraries (libzmq -lrt)
endif ()
endif ()
......@@ -894,7 +894,7 @@ if (BUILD_SHARED)
target_link_libraries (${perf-tool} libzmq ${OPTIONAL_LIBRARIES})
if (RT_LIBRARY)
target_link_libraries (${perf-tool} ${RT_LIBRARY})
target_link_libraries (${perf-tool} -lrt)
endif ()
if (ZMQ_BUILD_FRAMEWORK)
......
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