mupen64plus / mupen64plus-video-glide64mk2

Video plugin for Mupen64Plus 2.0 based on 10th anniversary release code from gonetz
28 stars 37 forks source link

Use ghc::filesystem as fallback for std::filesystem #135

Closed GhostlyDark closed 4 days ago

GhostlyDark commented 5 days ago

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.