summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Entities/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Entities/CMakeLists.txt b/src/Entities/CMakeLists.txt
index cfefca8d5..85cc45494 100644
--- a/src/Entities/CMakeLists.txt
+++ b/src/Entities/CMakeLists.txt
@@ -4,4 +4,8 @@ project (MCServer)
include_directories ("${PROJECT_SOURCE_DIR}/../")
-add_library(Entities Entity)
+file(GLOB SOURCE
+ "*.cpp"
+)
+
+add_library(Entities ${SOURCE})