header path must match yaml path with subdirs

This commit is contained in:
AltoXorg
2024-05-13 23:07:08 -06:00
committed by Lywx
parent e236c28bce
commit f78c4525a7
+1 -1
View File
@@ -765,7 +765,7 @@ void Companion::ProcessFile(YAML::Node root) {
switch (this->gConfig.exporterType) {
case ExportType::Header: {
fsout /= filename + ".h";
fsout /= this->gCurrentDirectory.parent_path() / (filename + ".h");
break;
}
case ExportType::Code: {