summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-10-10 08:38:39 +0200
committerJan Beich <jbeich@FreeBSD.org>2016-10-28 01:28:30 +0200
commit52da9de5c4855f0a89ae1019803327cba799b9e5 (patch)
treea5916198373c11e2a9891940341fb2e25f6cc0b4
parentbuild: libc may not provide iconv() on Unix (diff)
downloadyuzu-52da9de5c4855f0a89ae1019803327cba799b9e5.tar
yuzu-52da9de5c4855f0a89ae1019803327cba799b9e5.tar.gz
yuzu-52da9de5c4855f0a89ae1019803327cba799b9e5.tar.bz2
yuzu-52da9de5c4855f0a89ae1019803327cba799b9e5.tar.lz
yuzu-52da9de5c4855f0a89ae1019803327cba799b9e5.tar.xz
yuzu-52da9de5c4855f0a89ae1019803327cba799b9e5.tar.zst
yuzu-52da9de5c4855f0a89ae1019803327cba799b9e5.zip
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7e3f2ab8f..9fc4f5675 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)