Portable linking for C++17 std::filesystem
std::filesystem, GCC requires linking of an extra library:
stdc++fs. I think I read a
while back the intention might be to fold this back into
libstdc++ once it's finalised, but I can't find any references to that offhand.
If C++17 is enabled, would it be worth automatically linking to
stdc++fs for GCC versions which require this? Likewise for any quirks in other compilers or libraries.
Or is there already some provision or workaround for this with current cmake?