summaryrefslogtreecommitdiffstats
path: root/src/Entities/CMakeLists.txt
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-07-18 22:26:43 +0200
committerarchshift <admin@archshift.com>2014-07-19 02:41:43 +0200
commit725d1fd1e2995b1720673c280fea1125ac338b3c (patch)
tree2d3b867af65d899302db9724c68e9bbfef1fc064 /src/Entities/CMakeLists.txt
parentsrc/CMakeLists: Small changes for increased readability (diff)
downloadcuberite-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 '')
-rw-r--r--src/Entities/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Entities/CMakeLists.txt b/src/Entities/CMakeLists.txt
index 64752d13c..5d10e1680 100644
--- a/src/Entities/CMakeLists.txt
+++ b/src/Entities/CMakeLists.txt
@@ -60,6 +60,8 @@ SET (HDRS
ThrownSnowballEntity.h
WitherSkullEntity.h)
-add_library(Entities ${SRCS} ${HDRS})
+if(NOT MSVC)
+ add_library(Entities ${SRCS} ${HDRS})
-target_link_libraries(Entities WorldStorage)
+ target_link_libraries(Entities WorldStorage)
+endif()