summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-10-23 23:58:42 +0200
committerarchshift <admin@archshift.com>2014-10-23 23:58:42 +0200
commit6bcc2c187aff025bb8ab35e8454c0a3e1c62e97e (patch)
tree883a620af6fc7eaedf4446a5de0f2442f5dbb26d
parentRe-updated Core. (diff)
downloadcuberite-6bcc2c187aff025bb8ab35e8454c0a3e1c62e97e.tar
cuberite-6bcc2c187aff025bb8ab35e8454c0a3e1c62e97e.tar.gz
cuberite-6bcc2c187aff025bb8ab35e8454c0a3e1c62e97e.tar.bz2
cuberite-6bcc2c187aff025bb8ab35e8454c0a3e1c62e97e.tar.lz
cuberite-6bcc2c187aff025bb8ab35e8454c0a3e1c62e97e.tar.xz
cuberite-6bcc2c187aff025bb8ab35e8454c0a3e1c62e97e.tar.zst
cuberite-6bcc2c187aff025bb8ab35e8454c0a3e1c62e97e.zip
Diffstat (limited to '')
-rw-r--r--src/OSSupport/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/OSSupport/CMakeLists.txt b/src/OSSupport/CMakeLists.txt
index 429949c59..a2f46d656 100644
--- a/src/OSSupport/CMakeLists.txt
+++ b/src/OSSupport/CMakeLists.txt
@@ -38,7 +38,11 @@ SET (HDRS
if(NOT MSVC)
add_library(OSSupport ${SRCS} ${HDRS})
- if(UNIX)
- target_link_libraries(OSSupport pthread rt)
+ if(NOT APPLE)
+ target_link_libraries(OSSupport rt)
endif()
+
+ if(UNIX)
+ target_link_libraries(OSSupport pthread)
+ endif()
endif()