File tree 3 files changed +5
-6
lines changed
3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -61,13 +61,12 @@ else ()
61
61
find_package (Lua REQUIRED)
62
62
endif ()
63
63
64
- find_package (Boost 1.66.0 REQUIRED COMPONENTS date_time system filesystem iostreams)
64
+ find_package (Boost 1.66.0 REQUIRED COMPONENTS date_time system iostreams)
65
65
66
66
include_directories (${Boost_INCLUDE_DIRS} ${Crypto++_INCLUDE_DIR} ${LUA_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${PUGIXML_INCLUDE_DIR} )
67
67
target_link_libraries (tfs PRIVATE
68
68
Boost::date_time
69
69
Boost::system
70
- Boost::filesystem
71
70
Boost::iostreams
72
71
fmt::fmt
73
72
${CMAKE_THREAD_LIBS_INIT}
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ FROM alpine:3.15.0
26
26
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
27
27
boost-iostreams \
28
28
boost-system \
29
- boost-filesystem \
30
29
crypto++ \
31
30
fmt \
32
31
gmp \
Original file line number Diff line number Diff line change 3
3
4
4
#include " otpch.h"
5
5
6
- #include " script.h"
7
- #include < boost/filesystem.hpp>
8
6
#include " configmanager.h"
7
+ #include " script.h"
8
+
9
+ #include < filesystem>
9
10
10
11
extern LuaEnvironment g_luaEnvironment;
11
12
extern ConfigManager g_config;
@@ -23,7 +24,7 @@ Scripts::~Scripts()
23
24
24
25
bool Scripts::loadScripts (std::string folderName, bool isLib, bool reload)
25
26
{
26
- namespace fs = boost ::filesystem;
27
+ namespace fs = std ::filesystem;
27
28
28
29
const auto dir = fs::current_path () / " data" / folderName;
29
30
if (!fs::exists (dir) || !fs::is_directory (dir)) {
You can’t perform that action at this time.
0 commit comments