summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entities')
-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()