Skip to content

Force a min version of gcc/clang to support std::filesystem#265

Merged
mattalvarado merged 2 commits intomasterfrom
malvarado/ensure_std_filesystem
Mar 18, 2026
Merged

Force a min version of gcc/clang to support std::filesystem#265
mattalvarado merged 2 commits intomasterfrom
malvarado/ensure_std_filesystem

Conversation

@mattalvarado
Copy link
Collaborator

Ensure our compiler natively supports std::filesystem

Copy link
Collaborator

@QuentinTorg QuentinTorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may be cleaner to directly check for the feature instead of checking all the compiler versions. I think you could just check if the header is there with this https://cmake.org/cmake/help/latest/module/CheckIncludeFileCXX.html#module:CheckIncludeFileCXX

@QuentinTorg
Copy link
Collaborator

Potentially better still, find_package(Filesystem)

@mattalvarado mattalvarado merged commit a5cc094 into master Mar 18, 2026
7 checks passed
@mattalvarado mattalvarado deleted the malvarado/ensure_std_filesystem branch March 18, 2026 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants