summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Protocol/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Protocol/CMakeLists.txt b/src/Protocol/CMakeLists.txt
index 53dc295c0..107b79627 100644
--- a/src/Protocol/CMakeLists.txt
+++ b/src/Protocol/CMakeLists.txt
@@ -4,4 +4,8 @@ project (MCServer)
include_directories ("${PROJECT_SOURCE_DIR}/../")
-add_library(Protocol ProtocolRecognizer)
+file(GLOB SOURCE
+ "*.cpp"
+)
+
+add_library(Protocol ${SOURCE})