mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-14 17:58:01 +08:00
removing hard-coded path of librt
This commit is contained in:
parent
020b0bede8
commit
b2a8bbd89b
@ -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)
|
|||||||
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user