diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-05-16 21:59:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-16 21:59:10 +0200 |
commit | 9e8598fb1ca359143600d6bb2e8b317126a86bcc (patch) | |
tree | 677c51b708937ee8fbcdb2da8e180e874878d77a /src/Generating | |
parent | Travis: Fix ccache on debug builds (#4741) (diff) | |
download | cuberite-9e8598fb1ca359143600d6bb2e8b317126a86bcc.tar cuberite-9e8598fb1ca359143600d6bb2e8b317126a86bcc.tar.gz cuberite-9e8598fb1ca359143600d6bb2e8b317126a86bcc.tar.bz2 cuberite-9e8598fb1ca359143600d6bb2e8b317126a86bcc.tar.lz cuberite-9e8598fb1ca359143600d6bb2e8b317126a86bcc.tar.xz cuberite-9e8598fb1ca359143600d6bb2e8b317126a86bcc.tar.zst cuberite-9e8598fb1ca359143600d6bb2e8b317126a86bcc.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/CMakeLists.txt | 10 | ||||
-rw-r--r-- | src/Generating/FinishGen.h | 2 |
2 files changed, 4 insertions, 8 deletions
diff --git a/src/Generating/CMakeLists.txt b/src/Generating/CMakeLists.txt index 713e5b8c9..d6f0ce2fb 100644 --- a/src/Generating/CMakeLists.txt +++ b/src/Generating/CMakeLists.txt @@ -1,5 +1,6 @@ +target_sources( + ${CMAKE_PROJECT_NAME} PRIVATE -SET (SRCS BioGen.cpp Caves.cpp ChunkDesc.cpp @@ -29,9 +30,7 @@ SET (SRCS VerticalLimit.cpp VerticalStrategy.cpp VillageGen.cpp -) -SET (HDRS BioGen.h Caves.h ChunkDesc.h @@ -66,8 +65,3 @@ SET (HDRS VerticalStrategy.h VillageGen.h ) - -if(NOT MSVC) - add_library(Generating ${SRCS} ${HDRS}) - target_link_libraries(Generating fmt::fmt OSSupport Blocks Bindings) -endif() diff --git a/src/Generating/FinishGen.h b/src/Generating/FinishGen.h index 22292d924..c12bc2392 100644 --- a/src/Generating/FinishGen.h +++ b/src/Generating/FinishGen.h @@ -15,6 +15,8 @@ +#pragma once + #include "ComposableGenerator.h" #include "../Noise/Noise.h" #include "../ProbabDistrib.h" |