aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2013-03-29 21:08:35 -0400
committerkwolekr <kwolekr@minetest.net>2013-03-29 21:12:14 -0400
commit6cf581e3604bfb9a0e91d1a016a5e5ba605bfefa (patch)
tree3bc7434d527f708bc958911504a608be1565796a
parent177ca4f4d55368718eb295f1010ad5c81660af57 (diff)
downloadminetest-6cf581e3604bfb9a0e91d1a016a5e5ba605bfefa.tar.gz
minetest-6cf581e3604bfb9a0e91d1a016a5e5ba605bfefa.tar.bz2
minetest-6cf581e3604bfb9a0e91d1a016a5e5ba605bfefa.zip
Fix build on Linux with some glibcs
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 8f0cc1ac5..d6182861f 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -161,7 +161,7 @@ else()
endif(APPLE)
endif(BUILD_CLIENT)
find_package(ZLIB REQUIRED)
- set(PLATFORM_LIBS -lpthread ${CMAKE_DL_LIBS})
+ set(PLATFORM_LIBS -lpthread -lrt ${CMAKE_DL_LIBS})
#set(CLIENT_PLATFORM_LIBS -lXxf86vm)
# This way Xxf86vm is found on OpenBSD too
find_library(XXF86VM_LIBRARY Xxf86vm)