summaryrefslogtreecommitdiffstats
path: root/src/Generating/Prefabs/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/Generating/Prefabs/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 'src/Generating/Prefabs/CMakeLists.txt')
-rw-r--r--src/Generating/Prefabs/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Generating/Prefabs/CMakeLists.txt b/src/Generating/Prefabs/CMakeLists.txt
index d53098b4e..2c62aa73d 100644
--- a/src/Generating/Prefabs/CMakeLists.txt
+++ b/src/Generating/Prefabs/CMakeLists.txt
@@ -26,6 +26,8 @@ SET (HDRS
TestRailsPrefabs.h
UnderwaterBasePrefabs.h)
-add_library(Generating_Prefabs ${SRCS} ${HDRS})
+if(NOT MSVC)
+ add_library(Generating_Prefabs ${SRCS} ${HDRS})
-target_link_libraries(Generating_Prefabs OSSupport iniFile Blocks)
+ target_link_libraries(Generating_Prefabs OSSupport iniFile Blocks)
+endif()