diff options
author | archshift <admin@archshift.com> | 2014-10-23 23:58:42 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-10-23 23:58:42 +0200 |
commit | 6bcc2c187aff025bb8ab35e8454c0a3e1c62e97e (patch) | |
tree | 883a620af6fc7eaedf4446a5de0f2442f5dbb26d /src/OSSupport/CMakeLists.txt | |
parent | Re-updated Core. (diff) | |
download | cuberite-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 'src/OSSupport/CMakeLists.txt')
-rw-r--r-- | src/OSSupport/CMakeLists.txt | 8 |
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() |