The new Linux clock implementation required to link an extra library
This commit is contained in:
parent
3e89dd652f
commit
f9147eb2a8
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user