1
0
Fork 0

build: clock_gettime() is in libc on BSDs

This commit is contained in:
Jan Beich 2016-10-10 06:38:39 +00:00
parent 48b6c98d31
commit 52da9de5c4
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ ELSEIF(MINGW)
add_definitions(-D_WIN32_WINNT=0x0600)
ELSEIF(WIN32)
set(PLATFORM_LIBRARIES winmm ws2_32)
ELSE()
ELSEIF(CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU|SunOS)$")
set(PLATFORM_LIBRARIES rt)
ENDIF (APPLE)