mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 23:01:04 +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 ()
|
||||
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user