Commit b2a8bbd8 authored by Johan Mabille's avatar Johan Mabille

removing hard-coded path of librt

parent 020b0bed
...@@ -870,7 +870,7 @@ if (BUILD_SHARED) ...@@ -870,7 +870,7 @@ if (BUILD_SHARED)
endif () endif ()
if (RT_LIBRARY) if (RT_LIBRARY)
target_link_libraries (libzmq ${RT_LIBRARY}) target_link_libraries (libzmq -lrt)
endif () endif ()
endif () endif ()
...@@ -894,7 +894,7 @@ if (BUILD_SHARED) ...@@ -894,7 +894,7 @@ if (BUILD_SHARED)
target_link_libraries (${perf-tool} libzmq ${OPTIONAL_LIBRARIES}) target_link_libraries (${perf-tool} libzmq ${OPTIONAL_LIBRARIES})
if (RT_LIBRARY) if (RT_LIBRARY)
target_link_libraries (${perf-tool} ${RT_LIBRARY}) target_link_libraries (${perf-tool} -lrt)
endif () endif ()
if (ZMQ_BUILD_FRAMEWORK) 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