diff --git a/CMakeLists.txt b/CMakeLists.txt index 70020e9d..f5a378ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -591,6 +591,10 @@ if(HAVE_IPHLAPI) target_link_libraries(libzmq iphlpapi) endif() +if(RT_LIBRARY) + target_link_libraries(libzmq ${RT_LIBRARY}) +endif() + set(perf-tools local_lat remote_lat local_thr