diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0639e280..5486d77e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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)