This lowers the required macOS version and builds successfully on macOS 10.13 (using Xcode 10.1) by adding a fallback library, in case the C++17 <filesystem> header can't be found. If <filesystem> is available, the fallback isn't used.
This should technically work on anything that supports C++11, but lowering the requirements further requires changes to the Makefile, as the -std=gnu++17 flag isn't recognized by older build systems.
This lowers the required macOS version and builds successfully on macOS 10.13 (using Xcode 10.1) by adding a fallback library, in case the C++17
<filesystem>
header can't be found. If<filesystem>
is available, the fallback isn't used.This should technically work on anything that supports C++11, but lowering the requirements further requires changes to the Makefile, as the
-std=gnu++17
flag isn't recognized by older build systems.See https://github.com/gulrak/filesystem.