From ce7c416fb7084c2e0e8e6e2e865e2b5a84a0be5e Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Wed, 9 Oct 2019 18:59:52 -0500 Subject: [PATCH] [ox/fs] Remove Boost FS usage --- deps/ox/src/ox/fs/CMakeLists.txt | 9 --------- deps/ox/src/ox/fs/filesystem/passthroughfs.hpp | 9 --------- 2 files changed, 18 deletions(-) diff --git a/deps/ox/src/ox/fs/CMakeLists.txt b/deps/ox/src/ox/fs/CMakeLists.txt index 9c608a45..03da75de 100644 --- a/deps/ox/src/ox/fs/CMakeLists.txt +++ b/deps/ox/src/ox/fs/CMakeLists.txt @@ -10,19 +10,10 @@ add_library( ) if(NOT OX_BARE_METAL) - if(APPLE) - find_package(Boost COMPONENTS system filesystem REQUIRED) - set(BOOST_LIBS ${Boost_FILESYSTEM_LIBRARY} ${Boost_SYSTEM_LIBRARY}) - target_compile_definitions( - OxFS PUBLIC - OX_USE_BOOSTFS - ) - endif() target_link_libraries( OxFS PUBLIC $<$:c++fs> $<$:stdc++fs> - ${BOOST_LIBS} ) set_property( TARGET diff --git a/deps/ox/src/ox/fs/filesystem/passthroughfs.hpp b/deps/ox/src/ox/fs/filesystem/passthroughfs.hpp index 3be8186c..1eaa62ce 100644 --- a/deps/ox/src/ox/fs/filesystem/passthroughfs.hpp +++ b/deps/ox/src/ox/fs/filesystem/passthroughfs.hpp @@ -15,15 +15,6 @@ #define OX_PASSTHROUGHFS_HAS_DEPENDENCIES -#elif defined(OX_USE_BOOSTFS) - -#include -#include - -using std::filesystem = boost::filesystem; - -#define OX_PASSTHROUGHFS_HAS_DEPENDENCIES - #endif #ifdef OX_PASSTHROUGHFS_HAS_DEPENDENCIES