Fix use of std::filesystem on older GCC and Clang#11012
Fix use of std::filesystem on older GCC and Clang#11012phongn wants to merge 3 commits intoapache:masterfrom
Conversation
cmcfarlen
left a comment
There was a problem hiding this comment.
I don't have an older compiler to check with, but if this works for you and doesn't break the build then Im 👍
|
This didnt seem to fix it for me (on gcc 8.5)
just to double check I do see new cmake changes in my branch
|
ccbfe2f to
3e1e61f
Compare
|
@ezelkow1 resolved in latest update to this PR, though we have a larger conversation on if we want to allow this. |
|
Yes this does fix the issue in my testing now. However we do need that conversation if we want to allow the older compilers or not. If so then Im good with it |
|
@phongn We are not officially supporting GCC compilers less than GCC 10 for the ATS 10 release. Do you need this PR or can we close it? |
Older versions of GCC (< 9.1) and Clang (< 9) required use of additional library linking flags in order to use
std::filesystem. This PR instructs cmake to use those libstdc++/libc++ filesystem libraries when appropriate.