summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities
diff options
context:
space:
mode:
Diffstat (limited to 'src/BlockEntities')
-rw-r--r--src/BlockEntities/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/BlockEntities/CMakeLists.txt b/src/BlockEntities/CMakeLists.txt
index 4cd49c52d..d87594b0d 100644
--- a/src/BlockEntities/CMakeLists.txt
+++ b/src/BlockEntities/CMakeLists.txt
@@ -39,4 +39,6 @@ SET (HDRS
NoteEntity.h
SignEntity.h)
-add_library(BlockEntities ${SRCS} ${HDRS})
+if(NOT MSVC)
+ add_library(BlockEntities ${SRCS} ${HDRS})
+endif()