build: clock_gettime() is in libc on BSDs
This commit is contained in:
parent
48b6c98d31
commit
52da9de5c4
@ -181,7 +181,7 @@ ELSEIF(MINGW)
|
|||||||
add_definitions(-D_WIN32_WINNT=0x0600)
|
add_definitions(-D_WIN32_WINNT=0x0600)
|
||||||
ELSEIF(WIN32)
|
ELSEIF(WIN32)
|
||||||
set(PLATFORM_LIBRARIES winmm ws2_32)
|
set(PLATFORM_LIBRARIES winmm ws2_32)
|
||||||
ELSE()
|
ELSEIF(CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU|SunOS)$")
|
||||||
set(PLATFORM_LIBRARIES rt)
|
set(PLATFORM_LIBRARIES rt)
|
||||||
ENDIF (APPLE)
|
ENDIF (APPLE)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user