summaryrefslogtreecommitdiffstats
path: root/src/Generating
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
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')
-rw-r--r--src/Generating/CMakeLists.txt6
-rw-r--r--src/Generating/Prefabs/CMakeLists.txt6
2 files changed, 8 insertions, 4 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()
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()