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