mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-29 10:12:46 +01:00
build: clock_gettime() is in libc on BSDs
This commit is contained in:
parent
48b6c98d31
commit
52da9de5c4
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue