Skip to content

Commit 6cf581e

Browse files
committedMar 30, 2013
Fix build on Linux with some glibcs
1 parent 177ca4f commit 6cf581e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ else()
161161
endif(APPLE)
162162
endif(BUILD_CLIENT)
163163
find_package(ZLIB REQUIRED)
164-
set(PLATFORM_LIBS -lpthread ${CMAKE_DL_LIBS})
164+
set(PLATFORM_LIBS -lpthread -lrt ${CMAKE_DL_LIBS})
165165
#set(CLIENT_PLATFORM_LIBS -lXxf86vm)
166166
# This way Xxf86vm is found on OpenBSD too
167167
find_library(XXF86VM_LIBRARY Xxf86vm)

0 commit comments

Comments
 (0)
Please sign in to comment.