summaryrefslogtreecommitdiffstats
path: root/src/Protocol/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Protocol/CMakeLists.txt11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/Protocol/CMakeLists.txt b/src/Protocol/CMakeLists.txt
index 0f22e531f..e197853cb 100644
--- a/src/Protocol/CMakeLists.txt
+++ b/src/Protocol/CMakeLists.txt
@@ -1,6 +1,6 @@
-include_directories (SYSTEM "../../lib/jsoncpp/include")
+target_sources(
+ ${CMAKE_PROJECT_NAME} PRIVATE
-SET (SRCS
Authenticator.cpp
ChunkDataSerializer.cpp
ForgeHandshake.cpp
@@ -14,9 +14,7 @@ SET (SRCS
Protocol_1_13.cpp
ProtocolPalettes.cpp
ProtocolRecognizer.cpp
-)
-SET (HDRS
Authenticator.h
ChunkDataSerializer.h
ForgeHandshake.h
@@ -32,8 +30,3 @@ SET (HDRS
ProtocolPalettes.h
ProtocolRecognizer.h
)
-
-if (NOT MSVC)
- add_library(Protocol ${SRCS} ${HDRS})
- target_link_libraries(Protocol fmt::fmt SQLiteCpp)
-endif()