2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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

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)