diff options
author | archshift <admin@archshift.com> | 2014-10-24 00:03:54 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-10-24 00:03:54 +0200 |
commit | 8ccb729504a866b50907993a71d3e35ad19e96a4 (patch) | |
tree | 88e6fd307b5d8d2a71b98c2e4eb1feb3d48005f8 /src | |
parent | Fix linking on OS X, which does not have librt. (diff) | |
download | cuberite-8ccb729504a866b50907993a71d3e35ad19e96a4.tar cuberite-8ccb729504a866b50907993a71d3e35ad19e96a4.tar.gz cuberite-8ccb729504a866b50907993a71d3e35ad19e96a4.tar.bz2 cuberite-8ccb729504a866b50907993a71d3e35ad19e96a4.tar.lz cuberite-8ccb729504a866b50907993a71d3e35ad19e96a4.tar.xz cuberite-8ccb729504a866b50907993a71d3e35ad19e96a4.tar.zst cuberite-8ccb729504a866b50907993a71d3e35ad19e96a4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/OSSupport/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/OSSupport/CMakeLists.txt b/src/OSSupport/CMakeLists.txt index a2f46d656..3c0a3f1a0 100644 --- a/src/OSSupport/CMakeLists.txt +++ b/src/OSSupport/CMakeLists.txt @@ -38,11 +38,11 @@ SET (HDRS if(NOT MSVC) add_library(OSSupport ${SRCS} ${HDRS}) - if(NOT APPLE) - target_link_libraries(OSSupport rt) - endif() - if(UNIX) + if(NOT APPLE) + target_link_libraries(OSSupport rt) + endif() + target_link_libraries(OSSupport pthread) endif() endif() |