forked from Mirrorlandia_minetest/minetest
Fix build on Linux with some glibcs
This commit is contained in:
parent
177ca4f4d5
commit
6cf581e360
@ -161,7 +161,7 @@ else()
|
|||||||
endif(APPLE)
|
endif(APPLE)
|
||||||
endif(BUILD_CLIENT)
|
endif(BUILD_CLIENT)
|
||||||
find_package(ZLIB REQUIRED)
|
find_package(ZLIB REQUIRED)
|
||||||
set(PLATFORM_LIBS -lpthread ${CMAKE_DL_LIBS})
|
set(PLATFORM_LIBS -lpthread -lrt ${CMAKE_DL_LIBS})
|
||||||
#set(CLIENT_PLATFORM_LIBS -lXxf86vm)
|
#set(CLIENT_PLATFORM_LIBS -lXxf86vm)
|
||||||
# This way Xxf86vm is found on OpenBSD too
|
# This way Xxf86vm is found on OpenBSD too
|
||||||
find_library(XXF86VM_LIBRARY Xxf86vm)
|
find_library(XXF86VM_LIBRARY Xxf86vm)
|
||||||
|
Loading…
Reference in New Issue
Block a user