diff options
Diffstat (limited to 'src/Blocks/CMakeLists.txt')
-rw-r--r-- | src/Blocks/CMakeLists.txt | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/Blocks/CMakeLists.txt b/src/Blocks/CMakeLists.txt index 9d9f07b52..1026848df 100644 --- a/src/Blocks/CMakeLists.txt +++ b/src/Blocks/CMakeLists.txt @@ -1,16 +1,12 @@ -project (Cuberite) +target_sources( + ${CMAKE_PROJECT_NAME} PRIVATE -include_directories ("${PROJECT_SOURCE_DIR}/../") - -SET (SRCS BlockBed.cpp BlockDoor.cpp BlockHandler.cpp BlockPiston.cpp ChunkInterface.cpp -) -SET (HDRS BlockAnvil.h BlockBed.h BlockBigFlower.h @@ -105,8 +101,3 @@ SET (HDRS Mixins.h WorldInterface.h ) - -if(NOT MSVC) - add_library(Blocks ${SRCS} ${HDRS}) - target_link_libraries(Blocks fmt::fmt SQLiteCpp) -endif() |