diff options
author | archshift <admin@archshift.com> | 2014-07-18 22:26:43 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-07-19 02:41:43 +0200 |
commit | 725d1fd1e2995b1720673c280fea1125ac338b3c (patch) | |
tree | 2d3b867af65d899302db9724c68e9bbfef1fc064 /src/OSSupport | |
parent | src/CMakeLists: Small changes for increased readability (diff) | |
download | cuberite-725d1fd1e2995b1720673c280fea1125ac338b3c.tar cuberite-725d1fd1e2995b1720673c280fea1125ac338b3c.tar.gz cuberite-725d1fd1e2995b1720673c280fea1125ac338b3c.tar.bz2 cuberite-725d1fd1e2995b1720673c280fea1125ac338b3c.tar.lz cuberite-725d1fd1e2995b1720673c280fea1125ac338b3c.tar.xz cuberite-725d1fd1e2995b1720673c280fea1125ac338b3c.tar.zst cuberite-725d1fd1e2995b1720673c280fea1125ac338b3c.zip |
Diffstat (limited to 'src/OSSupport')
-rw-r--r-- | src/OSSupport/CMakeLists.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/OSSupport/CMakeLists.txt b/src/OSSupport/CMakeLists.txt index 8004d4094..a42fcbed4 100644 --- a/src/OSSupport/CMakeLists.txt +++ b/src/OSSupport/CMakeLists.txt @@ -35,8 +35,10 @@ SET (HDRS Thread.h Timer.h) -add_library(OSSupport ${SRCS} ${HDRS}) +if(NOT MSVC) + add_library(OSSupport ${SRCS} ${HDRS}) -if(UNIX) - target_link_libraries(OSSupport pthread) + if(UNIX) + target_link_libraries(OSSupport pthread) + endif() endif() |