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