diff --git a/apps/openmw-mp/CMakeLists.txt b/apps/openmw-mp/CMakeLists.txt index 2f2a8d693..74bea4a44 100644 --- a/apps/openmw-mp/CMakeLists.txt +++ b/apps/openmw-mp/CMakeLists.txt @@ -47,7 +47,6 @@ set(SERVER Player.cpp Networking.cpp Utils.cpp - Log.cpp MasterClient.cpp Script/Script.cpp Script/ScriptFunction.cpp Script/ScriptFunctions.cpp diff --git a/apps/openmw-mp/MasterClient.cpp b/apps/openmw-mp/MasterClient.cpp index 2ff81548f..4e48642d4 100644 --- a/apps/openmw-mp/MasterClient.cpp +++ b/apps/openmw-mp/MasterClient.cpp @@ -8,7 +8,7 @@ #include #include #include "MasterClient.hpp" -#include "Log.hpp" +#include #include "Networking.hpp" using namespace std; diff --git a/apps/openmw-mp/main.cpp b/apps/openmw-mp/main.cpp index ac4904611..145508377 100644 --- a/apps/openmw-mp/main.cpp +++ b/apps/openmw-mp/main.cpp @@ -3,9 +3,9 @@ #include "Player.hpp" #include "Networking.hpp" #include "MasterClient.hpp" -#include "Log.hpp" #include #include +#include #include #include #include diff --git a/components/CMakeLists.txt b/components/CMakeLists.txt index 5923c2be4..8843ef10e 100644 --- a/components/CMakeLists.txt +++ b/components/CMakeLists.txt @@ -146,6 +146,7 @@ add_component_dir (version ) add_component_dir (openmw-mp + Log PacketsController Packets/BasePacket Packets/PacketBaseInfo Packets/PacketPosition Packets/PacketEquiped Packets/PacketAttributesAndStats Packets/PacketAttack Packets/PacketMainStats Packets/PacketCell Packets/PacketDrawState Packets/PacketChatMessage diff --git a/apps/openmw-mp/Log.cpp b/components/openmw-mp/Log.cpp similarity index 100% rename from apps/openmw-mp/Log.cpp rename to components/openmw-mp/Log.cpp diff --git a/apps/openmw-mp/Log.hpp b/components/openmw-mp/Log.hpp similarity index 100% rename from apps/openmw-mp/Log.hpp rename to components/openmw-mp/Log.hpp