summaryrefslogtreecommitdiffstats
path: root/src/OSSupport
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-24 10:19:13 +0200
committerMattes D <github@xoft.cz>2014-10-24 10:19:13 +0200
commit765bf006ad28d6dfcddd6c29ec203bbc7753e332 (patch)
tree2ddd79061104d4a4f80442a432a52fd81120e631 /src/OSSupport
parentSuggestions (diff)
parentMerge pull request #1565 from mc-server/MergedIniFile (diff)
downloadcuberite-765bf006ad28d6dfcddd6c29ec203bbc7753e332.tar
cuberite-765bf006ad28d6dfcddd6c29ec203bbc7753e332.tar.gz
cuberite-765bf006ad28d6dfcddd6c29ec203bbc7753e332.tar.bz2
cuberite-765bf006ad28d6dfcddd6c29ec203bbc7753e332.tar.lz
cuberite-765bf006ad28d6dfcddd6c29ec203bbc7753e332.tar.xz
cuberite-765bf006ad28d6dfcddd6c29ec203bbc7753e332.tar.zst
cuberite-765bf006ad28d6dfcddd6c29ec203bbc7753e332.zip
Diffstat (limited to 'src/OSSupport')
-rw-r--r--src/OSSupport/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/OSSupport/CMakeLists.txt b/src/OSSupport/CMakeLists.txt
index 29cf440ca..a8479a834 100644
--- a/src/OSSupport/CMakeLists.txt
+++ b/src/OSSupport/CMakeLists.txt
@@ -35,6 +35,10 @@ 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()
+
+ target_link_libraries(OSSupport pthread)
endif()
endif()