summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage
diff options
context:
space:
mode:
Diffstat (limited to 'src/WorldStorage')
-rw-r--r--src/WorldStorage/CMakeLists.txt10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/WorldStorage/CMakeLists.txt b/src/WorldStorage/CMakeLists.txt
index 341d88e68..68fdd31bc 100644
--- a/src/WorldStorage/CMakeLists.txt
+++ b/src/WorldStorage/CMakeLists.txt
@@ -1,5 +1,6 @@
+target_sources(
+ ${CMAKE_PROJECT_NAME} PRIVATE
-SET (SRCS
EnchantmentSerializer.cpp
FastNBT.cpp
FireworksSerializer.cpp
@@ -10,9 +11,7 @@ SET (SRCS
StatSerializer.cpp
WSSAnvil.cpp
WorldStorage.cpp
-)
-SET (HDRS
EnchantmentSerializer.h
FastNBT.h
FireworksSerializer.h
@@ -24,8 +23,3 @@ SET (HDRS
WSSAnvil.h
WorldStorage.h
)
-
-if(NOT MSVC)
- add_library(WorldStorage ${SRCS} ${HDRS})
- target_link_libraries(WorldStorage fmt::fmt OSSupport SQLiteCpp)
-endif()