The new Linux clock implementation required to link an extra library

This commit is contained in:
Laurent Gomila 2011-12-20 18:53:40 +01:00
parent 3e89dd652f
commit f9147eb2a8

View File

@ -68,6 +68,9 @@ set(SYSTEM_EXT_LIBS)
if(UNIX) if(UNIX)
set(SYSTEM_EXT_LIBS ${SYSTEM_EXT_LIBS} pthread) set(SYSTEM_EXT_LIBS ${SYSTEM_EXT_LIBS} pthread)
endif() endif()
if(LINUX)
set(SYSTEM_EXT_LIBS ${SYSTEM_EXT_LIBS} rt)
endif()
# define the sfml-system target # define the sfml-system target
sfml_add_library(sfml-system sfml_add_library(sfml-system