Sorted CMake recurse order

This commit is contained in:
2025-11-21 15:30:08 +00:00
parent 7419088a5c
commit 9ff5caf1e0
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ def recurse_cmakelists(path: Path):
sources: list[Path] = []
has_headers: bool = False
for child in path.iterdir():
for child in sorted(path.iterdir()):
if child.is_dir():
dirs.append(child)
elif any(child.match(ext) for ext in SOURCE_EXTS) and \