mirror of
https://github.com/build-cpp/cmkr
synced 2026-06-08 13:22:55 +00:00
fix path ostream
This commit is contained in:
+1
-1
@@ -180,7 +180,7 @@ int generate_cmake(const char *path) {
|
||||
auto ext = path.extension();
|
||||
for (const auto& f: fs::directory_iterator(path.parent_path())) {
|
||||
if (f.path().extension() == ext) {
|
||||
ss << "\t" << f << "\n";
|
||||
ss << "\t" << f.path() << "\n";
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user