summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index dc8c83047..b32459621 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -42,6 +42,9 @@ ELSEIF (CMAKE_SYSTEM_NAME STREQUAL "Darwin" OR BEOS)
ELSEIF (CMAKE_SYSTEM_NAME STREQUAL SunOS)
# explicit linking to libintl is required on Solaris
SET(EXTRA_LIBRARIES intl)
+ELSEIF (CMAKE_SYSTEM_NAME STREQUAL Linux)
+ #some distros need this explicitly linked
+ SET(EXTRA_LIBRARIES rt)
ENDIF()
SET(FLAGS "${FLAGS} -DUSE_MUMBLE")