mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-05-03 02:59:21 +02:00
fix compiling on ubuntu
This commit is contained in:
parent
3934e084c6
commit
d77cdd0427
@ -29,6 +29,7 @@ set(tfs_SRC
|
||||
${CMAKE_CURRENT_LIST_DIR}/ioguild.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/iologindata.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/iomap.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/iomarket.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/iomapserialize.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/item.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/items.cpp
|
||||
|
@ -22,7 +22,12 @@
|
||||
#include "iologindata.h"
|
||||
#include "configmanager.h"
|
||||
#include "game.h"
|
||||
|
||||
#if __has_include("fmt/core.h")
|
||||
#include <fmt/core.h>
|
||||
#else
|
||||
#include <fmt/format.h>
|
||||
#endif
|
||||
|
||||
extern ConfigManager g_config;
|
||||
extern Game g_game;
|
||||
|
@ -10,7 +10,11 @@
|
||||
#include "game.h"
|
||||
#include "iologindata.h"
|
||||
#include "scheduler.h"
|
||||
#if __has_include("fmt/core.h")
|
||||
#include <fmt/core.h>
|
||||
#else
|
||||
#include <fmt/format.h>
|
||||
#endif
|
||||
|
||||
extern ConfigManager g_config;
|
||||
extern Game g_game;
|
||||
|
Loading…
x
Reference in New Issue
Block a user