Skip to content

Commit

Permalink
Add rt library for glibc versions before 2.17 eclipse-paho#631
Browse files Browse the repository at this point in the history
  • Loading branch information
icraggs committed Apr 1, 2020
1 parent da27daf commit 3af6029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ IF (WIN32)
SET(LIBS_SYSTEM ws2_32 crypt32 RpcRT4)
ELSEIF (UNIX)
IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
SET(LIBS_SYSTEM c dl pthread anl)
SET(LIBS_SYSTEM c dl pthread anl rt)
ADD_DEFINITIONS(-D_GNU_SOURCE -fvisibility=hidden)
ELSEIF (CMAKE_SYSTEM_NAME MATCHES "Android")
SET(LIBS_SYSTEM c dl)
Expand Down

0 comments on commit 3af6029

Please sign in to comment.