Index: src/CMakeLists.txt
--- src/CMakeLists.txt.orig
+++ src/CMakeLists.txt
@@ -60,6 +60,7 @@ target_sources(dunelegacy
         Choam.cpp
         Command.cpp
         CommandManager.cpp
+        CursorManager.cpp
         Explosion.cpp
         Game.cpp
         GameInitSettings.cpp
@@ -271,17 +272,6 @@ target_sources(dunelegacy
 # C source files
 target_sources(dunelegacy
     PRIVATE
-        # enet
-        enet/callbacks.c
-        enet/compress.c
-        enet/host.c
-        enet/list.c
-        enet/packet.c
-        enet/peer.c
-        enet/protocol.c
-        enet/unix.c
-        enet/win32.c
-
         # fixmath
         fixmath/fix16.c
         fixmath/fix16_exp.c
@@ -363,4 +353,4 @@ install(TARGETS dunelegacy
 target_compile_definitions(dunelegacy
     PRIVATE
         DATA_DIRECTORY="${CMAKE_INSTALL_DATADIR}/dunelegacy"
-) 
\ No newline at end of file
+) 
